Use #query_scope instead of #parent in a Spinach feature
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
701577f0f2
commit
70c31ab42e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue