summaryrefslogtreecommitdiff
path: root/spec/controllers/commit_controller_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-22 13:15:27 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-22 13:15:27 +0000
commit595b3323a8eda201d423a620dd29ba242c9e6131 (patch)
tree5b48ece82b26da6a838c944fb2004c3893d3df62 /spec/controllers/commit_controller_spec.rb
parent6c4d48b8b9219941218b5abdbf95acc10ff54dea (diff)
parente4e01dbf41daf65b1678ce8981a7a84866d235ce (diff)
downloadgitlab-ce-595b3323a8eda201d423a620dd29ba242c9e6131.tar.gz
Merge branch 'rs-rspec3' into 'master'
RSpec3 Upgrades rspec to 3.3.0, we're now up-to-date! :tada: See merge request !831
Diffstat (limited to 'spec/controllers/commit_controller_spec.rb')
-rw-r--r--spec/controllers/commit_controller_spec.rb8
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('&amp;')
- expect(response.body).to_not include('&gt;')
- expect(response.body).to_not include('&lt;')
- expect(response.body).to_not include('&quot;')
+ expect(response.body).not_to include('&amp;')
+ expect(response.body).not_to include('&gt;')
+ expect(response.body).not_to include('&lt;')
+ expect(response.body).not_to include('&quot;')
end
end