spec/models/concerns/subscribable_spec.rb in reactor-0.3.0 vs spec/models/concerns/subscribable_spec.rb in reactor-0.3.1

- old
+ new

@@ -1,9 +1,9 @@ require 'spec_helper' class Auction < ActiveRecord::Base - subscribes_to :bid_made do |event| + on_event :bid_made do |event| event.target.update_column :status, 'first_bid_made' end end describe Reactor::Subscribable do \ No newline at end of file