adds consistency on social media filenames
This commit is contained in:
@@ -47,16 +47,16 @@ feature "Admin custom images" do
|
||||
end
|
||||
|
||||
within("tr.social-media-icon") do
|
||||
attach_file "site_customization_image_image", "spec/fixtures/files/social-media-icon.png"
|
||||
attach_file "site_customization_image_image", "spec/fixtures/files/social_media_icon.png"
|
||||
click_button "Update"
|
||||
end
|
||||
|
||||
expect(page).to have_css("img[src*='social-media-icon.png']")
|
||||
expect(page).to have_css("img[src*='social_media_icon.png']")
|
||||
|
||||
within("tr.social-media-icon") do
|
||||
click_link "Delete"
|
||||
end
|
||||
|
||||
expect(page).to_not have_css("img[src*='social-media-icon.png']")
|
||||
expect(page).to_not have_css("img[src*='social_media_icon.png']")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user