adds consistency on social media filenames

This commit is contained in:
decabeza
2017-07-18 11:40:19 +02:00
parent f73c0a700a
commit 2844c03e43
11 changed files with 11 additions and 8 deletions

View File

@@ -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