diff options
author | Henare Degan <henare.degan@gmail.com> | 2012-12-12 16:38:30 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2012-12-12 16:38:30 +1100 |
commit | 1e7e8b5f73f5680b4c68063680ed5335c070987f (patch) | |
tree | cc30e06632c38c88305b14d1e222f36305278a46 /spec/models/info_request_event_spec.rb | |
parent | b9d7b5e15db08113161aea660ad76ee678c704c1 (diff) |
The run_callbacks API has changed
https://rails.lighthouseapp.com/projects/8994/tickets/5472-unable-to-manually-run-activerecord-object-callbacks
Diffstat (limited to 'spec/models/info_request_event_spec.rb')
-rw-r--r-- | spec/models/info_request_event_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/info_request_event_spec.rb b/spec/models/info_request_event_spec.rb index 796f8b840..842246fd8 100644 --- a/spec/models/info_request_event_spec.rb +++ b/spec/models/info_request_event_spec.rb @@ -21,7 +21,7 @@ describe InfoRequestEvent do :event_type => 'sent', :params => {}) event.should_receive(:xapian_mark_needs_index) - event.run_callbacks(:after_save) + event.run_callbacks(:save) end end |