Commit 8042c0ea75bcb9a2a154439fc1d06d08b9ed16ec

Authored by Rodrigo Souto
1 parent ec3914e2

rails3: replace build on comment_notifier to avoid mass-assignment

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/unit/comment_notifier_test.rb
... ... @@ -95,7 +95,7 @@ class CommentNotifierTest < ActiveSupport::TestCase
95 95 private
96 96  
97 97 def create_comment_and_notify(args)
98   - Comment.create!(args)
  98 + create(Comment, args)
99 99 process_delayed_job_queue
100 100 end
101 101  
... ...