mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +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