summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-06-03 10:10:58 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-06-03 10:11:36 +0530
commit0dff6fd7148957fa94d2626e3912cd929ba150d3 (patch)
tree83237ff06b62a97f04fc7b05cb6566aae7b1ac41 /spec/controllers
parent3adf125a155fd04fbba4f0882c739eae1cc73e15 (diff)
downloadgitlab-ce-0dff6fd7148957fa94d2626e3912cd929ba150d3.tar.gz
Fix rubocop spec.
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/application_controller_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/controllers/application_controller_spec.rb b/spec/controllers/application_controller_spec.rb
index ff596e7c2ad..ff5b3916273 100644
--- a/spec/controllers/application_controller_spec.rb
+++ b/spec/controllers/application_controller_spec.rb
@@ -62,8 +62,8 @@ describe ApplicationController do
it "doesn't log the user in otherwise" do
@request.headers['PRIVATE-TOKEN'] = "token"
get :index, private_token: "token", authenticity_token: "token"
- expect(response.status).to_not eq(200)
- expect(response.body).to_not eq("authenticated")
+ expect(response.status).not_to eq(200)
+ expect(response.body).not_to eq("authenticated")
end
end
@@ -96,8 +96,8 @@ describe ApplicationController do
it "doesn't log the user in otherwise" do
get :index, private_token: "token"
- expect(response.status).to_not eq(200)
- expect(response.body).to_not eq('authenticated')
+ expect(response.status).not_to eq(200)
+ expect(response.body).not_to eq('authenticated')
end
end
end