test/test_helper.rb in giraffesoft-timeline_fu-0.2.0 vs test/test_helper.rb in giraffesoft-timeline_fu-0.3.0
- old
+ new
@@ -45,11 +45,11 @@
class List < ActiveRecord::Base
belongs_to :author, :class_name => "Person"
has_many :comments
- fires :list_created, :actor => :author,
- :on => :create
+ fires :list_created_or_updated, :actor => :author,
+ :on => [:create, :update]
end
class Comment < ActiveRecord::Base
belongs_to :list
belongs_to :author, :class_name => "Person"