spec/dummy/application.rb in resonance-0.3.3 vs spec/dummy/application.rb in resonance-0.4.0

- old
+ new

@@ -27,11 +27,11 @@ class Like < ActiveRecord::Base; end module Resonatable include Resonance - resonate :user, with: :user, by: :follow - resonate :user, with: :post, by: :like, foreign_key: :post_id + resonate :user, target: :user, action: :follow + resonate :user, target: :post, action: :like, foreign_key: { target: :post_id } end class User include Resonatable end