diff options
Diffstat (limited to 'spec/requests/commits_spec.rb')
-rw-r--r-- | spec/requests/commits_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/commits_spec.rb b/spec/requests/commits_spec.rb index e257997..d992253 100644 --- a/spec/requests/commits_spec.rb +++ b/spec/requests/commits_spec.rb @@ -11,7 +11,7 @@ describe "Commits" do get status_project_ref_commit_path(@project, @commit.ref, @commit.sha), format: :json end - it { response.status.should eq 200 } - it { response.body.should include(@commit.sha) } + it { expect(response.status).to eq 200 } + it { expect(response.body).to include(@commit.sha) } end end |