From 2786edc931f1853883e5bbd9d2b83a824288ae5c Mon Sep 17 00:00:00 2001 From: Patricio Cano Date: Tue, 14 Jun 2016 18:37:22 -0500 Subject: Added CHANGELOG item and fixed Rubocop errors --- spec/controllers/profiles/accounts_controller_spec.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'spec/controllers') 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 -- cgit v1.2.1