diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-01-26 19:51:52 -0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-02-02 11:25:44 -0200 |
commit | eefc46e0d5310cce5b5a64c1b982d5348d465f83 (patch) | |
tree | ed829fee1b74f14d1b8b0f4bd0176eb8510f3e35 /spec/controllers/admin | |
parent | 718b1dddfe8d7422e8de8b2fbbd8357fc1c3b5e4 (diff) | |
download | gitlab-ce-eefc46e0d5310cce5b5a64c1b982d5348d465f83.tar.gz |
Fix rubocop offenses
Diffstat (limited to 'spec/controllers/admin')
-rw-r--r-- | spec/controllers/admin/spam_logs_controller_spec.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/controllers/admin/spam_logs_controller_spec.rb b/spec/controllers/admin/spam_logs_controller_spec.rb index 6beebc362e9..b51b303a714 100644 --- a/spec/controllers/admin/spam_logs_controller_spec.rb +++ b/spec/controllers/admin/spam_logs_controller_spec.rb @@ -20,10 +20,7 @@ describe Admin::SpamLogsController do describe '#destroy' do it 'removes only the spam log when removing log' do - expect { - delete :destroy, id: first_spam.id - }.to change { SpamLog.count }.by(-1) - + expect { delete :destroy, id: first_spam.id }.to change { SpamLog.count }.by(-1) expect(User.find(user.id)).to be_truthy expect(response.status).to eq(200) end |