diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-01 17:43:59 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-12 05:12:42 -0400 |
commit | 4c42fc7c4cc4d322109306c433f1c234bdcfc397 (patch) | |
tree | 94d72b0657df465ea50fb349e8dcacb959518569 /features/steps/admin | |
parent | 584f8601eff79fe6e400026ba6db086002ce2cba (diff) | |
download | gitlab-ce-4c42fc7c4cc4d322109306c433f1c234bdcfc397.tar.gz |
Call `page.all` instead of `all` in feature steps
There's a naming conflict between Capybara and rspec-matchers which both
define the `all` method.
See https://github.com/jnicklas/capybara/issues/1396
Diffstat (limited to 'features/steps/admin')
-rw-r--r-- | features/steps/admin/settings.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/admin/settings.rb b/features/steps/admin/settings.rb index 06616bfbd72..1c0b7a4b712 100644 --- a/features/steps/admin/settings.rb +++ b/features/steps/admin/settings.rb @@ -45,7 +45,7 @@ class Spinach::Features::AdminSettings < Spinach::FeatureSteps end step 'I should see all checkboxes checked' do - all('input[type=checkbox]').each do |checkbox| + page.all('input[type=checkbox]').each do |checkbox| expect(checkbox).to be_checked end end |