mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-11 03:40:20 +00:00
Sets conctext: asserts within the modal
This commit is contained in:
@@ -12,7 +12,9 @@ describe "Footer Links" do
|
||||
it "opens cookies policy page" do
|
||||
visit root_path
|
||||
click_link "cookies policy"
|
||||
expect(page).to have_content "How We Use Cookies"
|
||||
within "div.reveal-modal" do
|
||||
expect(page).to have_content "How We Use Cookies"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user