diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-12 00:44:13 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-12 05:12:09 -0400 |
commit | 69bbc413fec7aa4168d9ff12df5421674db90032 (patch) | |
tree | 215a7f16d4630067bf4863d8d6f992fcac23969e /features/steps/user.rb | |
parent | b07cf1182f78c5c46edbfa0fde668dd75ae47e05 (diff) | |
download | gitlab-ce-69bbc413fec7aa4168d9ff12df5421674db90032.tar.gz |
Update all `should`-style syntax to `expect` in features
Diffstat (limited to 'features/steps/user.rb')
-rw-r--r-- | features/steps/user.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/user.rb b/features/steps/user.rb index 10cae692a88..5cbbecc7495 100644 --- a/features/steps/user.rb +++ b/features/steps/user.rb @@ -29,12 +29,12 @@ class Spinach::Features::User < Spinach::FeatureSteps step 'I should see contributed projects' do within '.contributed-projects' do - page.should have_content(@contributed_project.name) + expect(page).to have_content(@contributed_project.name) end end step 'I should see contributions calendar' do - page.should have_css('.cal-heatmap-container') + expect(page).to have_css('.cal-heatmap-container') end def contributed_project |