spec/fixtures/article.rb in mover-0.1.1 vs spec/fixtures/article.rb in mover-0.2.0

- old
+ new

@@ -1,4 +1,6 @@ class Article < ActiveRecord::Base has_many :comments - is_movable :archive, :draft + before_move_to :ArticleArchive do + comments.each { |c| c.move_to(CommentArchive) } + end end \ No newline at end of file