make base to image connectio and use image instances instead of names
This commit is contained in:
@ -7,5 +7,11 @@ RSpec.feature "Images", type: :feature do
|
||||
expect(page).to have_title("Dummy")
|
||||
expect(page).to have_text("Pages")
|
||||
end
|
||||
it "has picures" do
|
||||
expexted_num = Merged::Image.count
|
||||
visit "/merged/images"
|
||||
found= find_all(".image_box").count
|
||||
expect(found).to be expexted_num
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user