Permalink
Browse files

Calling after_create is deprecated; use the syntax after(:create) {}

  • Loading branch information...
1 parent dd1fd1e commit 408419b81e514bb152c1cf3b6bc039c076af776c @sferik sferik committed May 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/factories/application.rb
@@ -49,7 +49,7 @@
name
factory :rubygem_with_downloads do
- after_create do |r|
+ after(:create) do |r|
$redis[Download.key(r)] = r['downloads']
end
end

0 comments on commit 408419b

Please sign in to comment.