summaryrefslogtreecommitdiff
path: root/spec/controllers/profiles
diff options
context:
space:
mode:
authorPatricio Cano <suprnova32@gmail.com>2016-06-14 18:37:22 -0500
committerPatricio Cano <suprnova32@gmail.com>2016-06-14 18:37:22 -0500
commit2786edc931f1853883e5bbd9d2b83a824288ae5c (patch)
treeb9b747db236efdd7545056c19e62a8c6725f36ab /spec/controllers/profiles
parent34bf165147787125a601ad30a4a71ba7f966f724 (diff)
downloadgitlab-ce-2786edc931f1853883e5bbd9d2b83a824288ae5c.tar.gz
Added CHANGELOG item and fixed Rubocop errorsdisable-saml-account-unlink
Diffstat (limited to 'spec/controllers/profiles')
-rw-r--r--spec/controllers/profiles/accounts_controller_spec.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/controllers/profiles/accounts_controller_spec.rb b/spec/controllers/profiles/accounts_controller_spec.rb
index 8658030214a..4eafc11abaa 100644
--- a/spec/controllers/profiles/accounts_controller_spec.rb
+++ b/spec/controllers/profiles/accounts_controller_spec.rb
@@ -21,8 +21,6 @@ describe Profiles::AccountsController do
it 'does allow to delete other linked accounts' do
user.identities.create(provider: 'twitter', extern_uid: 'twitter_123')
- expect{
- delete :unlink, provider: 'twitter'
- }.to change(Identity.all, :size).by(-1)
+ expect { delete :unlink, provider: 'twitter' }.to change(Identity.all, :size).by(-1)
end
-end \ No newline at end of file
+end