diff options
author | Patricio Cano <suprnova32@gmail.com> | 2016-08-09 20:43:47 +0300 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2016-08-16 01:20:57 +0300 |
commit | 5994c11910822463faeabb7b5f11d6529036db9d (patch) | |
tree | a80a8ffea4d4ef868790aab627abfcaa1c982d10 /spec/controllers/admin | |
parent | 43e756d4eafd79f4d2f366b646ebb94af78b5a4c (diff) |
Further refactor and syntax fixes.
Diffstat (limited to 'spec/controllers/admin')
-rw-r--r-- | spec/controllers/admin/spam_logs_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/admin/spam_logs_controller_spec.rb b/spec/controllers/admin/spam_logs_controller_spec.rb index ac0441d0a4e..585ca31389d 100644 --- a/spec/controllers/admin/spam_logs_controller_spec.rb +++ b/spec/controllers/admin/spam_logs_controller_spec.rb @@ -37,7 +37,7 @@ describe Admin::SpamLogsController do describe '#mark_as_ham' do before do - allow_any_instance_of(AkismetService).to receive(:ham!).and_return(true) + allow_any_instance_of(AkismetService).to receive(:submit_ham).and_return(true) end it 'submits the log as ham' do post :mark_as_ham, id: first_spam.id |