diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-17 21:30:58 -0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-06-22 12:13:49 +0200 |
commit | bf71d53f634926bee91955c8ecee7a3869fcd518 (patch) | |
tree | 7e7a78de896f7aa154014420befcf1f01f6b0368 /spec/controllers/commit_controller_spec.rb | |
parent | 0f627f1c6046be06986ee0e6e46d390ec2c18507 (diff) | |
download | gitlab-ce-bf71d53f634926bee91955c8ecee7a3869fcd518.tar.gz |
Change `to_not` calls to `not_to`
Both work, but now we're consistent across the entire app.
Diffstat (limited to 'spec/controllers/commit_controller_spec.rb')
-rw-r--r-- | spec/controllers/commit_controller_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/controllers/commit_controller_spec.rb b/spec/controllers/commit_controller_spec.rb index 2cfa399a047..34ee61f7ede 100644 --- a/spec/controllers/commit_controller_spec.rb +++ b/spec/controllers/commit_controller_spec.rb @@ -40,10 +40,10 @@ describe Projects::CommitController do get(:show, namespace_id: project.namespace.to_param, project_id: project.to_param, id: commit.id, format: format) - expect(response.body).to_not include('&') - expect(response.body).to_not include('>') - expect(response.body).to_not include('<') - expect(response.body).to_not include('"') + expect(response.body).not_to include('&') + expect(response.body).not_to include('>') + expect(response.body).not_to include('<') + expect(response.body).not_to include('"') end end |