Remove unnecessary expectation

The `iframe` is rendered in pure HTML and should always be there.
This commit is contained in:
Maikel Linke
2018-07-19 10:45:33 +10:00
parent 8a3a617870
commit 962c54b606

View File

@@ -1,8 +1,6 @@
module OpenFoodNetwork
module EmbeddedPagesHelper
def on_embedded_page
expect(page).to have_selector "iframe"
within_frame :frame do
yield
end