Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-11-14 11:29:54 +0300
committerRémy Coutable <remy@rymai.me>2017-11-14 11:29:54 +0300
commit70c31ab42e24a4be588b79a82a98f7cf70316391 (patch)
treecb133dc93aa196eab058dd4f48c2b7bdd48c9aaf
parent701577f0f2954c54efa8e83d232b985f4571c4c6 (diff)
Use #query_scope instead of #parent in a Spinach feature
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--features/steps/project/commits/commits.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/commits/commits.rb b/features/steps/project/commits/commits.rb
index 318e054e978..c623a516c47 100644
--- a/features/steps/project/commits/commits.rb
+++ b/features/steps/project/commits/commits.rb
@@ -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