Commit 70c31ab4 authored by Rémy Coutable's avatar Rémy Coutable

Use #query_scope instead of #parent in a Spinach feature

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 701577f0
......@@ -62,7 +62,7 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps
end
step 'I should see additional file lines' do
page.within @diff.parent do
page.within @diff.query_scope do
expect(first('.new_line').text).not_to have_content "..."
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment