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/shared/paths.rb | |
parent | b07cf1182f78c5c46edbfa0fde668dd75ae47e05 (diff) | |
download | gitlab-ce-69bbc413fec7aa4168d9ff12df5421674db90032.tar.gz |
Update all `should`-style syntax to `expect` in features
Diffstat (limited to 'features/steps/shared/paths.rb')
-rw-r--r-- | features/steps/shared/paths.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb index 46493876805..09ae7e3a305 100644 --- a/features/steps/shared/paths.rb +++ b/features/steps/shared/paths.rb @@ -92,7 +92,7 @@ module SharedPaths end step 'I should be redirected to the dashboard groups page' do - current_path.should == dashboard_groups_path + expect(current_path).to eq dashboard_groups_path end step 'I visit dashboard starred projects page' do @@ -292,11 +292,11 @@ module SharedPaths end step 'I am on the new file page' do - current_path.should eq(namespace_project_create_blob_path(@project.namespace, @project, root_ref)) + expect(current_path).to eq(namespace_project_create_blob_path(@project.namespace, @project, root_ref)) end step 'I am on the ".gitignore" edit file page' do - current_path.should eq(namespace_project_edit_blob_path( + expect(current_path).to eq(namespace_project_edit_blob_path( @project.namespace, @project, File.join(root_ref, '.gitignore'))) end @@ -459,6 +459,6 @@ module SharedPaths # ---------------------------------------- step 'page status code should be 404' do - status_code.should == 404 + expect(status_code).to eq 404 end end |