updates spec of admin logo_header

This commit is contained in:
decabeza
2017-09-20 11:02:13 +02:00
parent 5ffac1d1fb
commit 1b3292690a

View File

@@ -20,7 +20,7 @@ feature "Admin custom images" do
end
expect(page).to have_css("tr.logo_header img[src*='logo_header.png']")
expect(page).to have_css("img[src*='logo_header.png']", count: 2) # one in the admin form an one in the page header
expect(page).to have_css("img[src*='logo_header.png']", count: 1)
end
scenario "Upload invalid image" do