Permalink
Browse files

Fix unnecessary call to make! in a blueprint.

  • Loading branch information...
1 parent 870ad0f commit 5afba24fc82ceee8cb1631bcb28cfab35545cd3f @notahat committed Jun 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/active_record_spec.rb
@@ -85,7 +85,7 @@
username { "user_#{sn}" }
end
Post.blueprint do
- author { User.make!(:username => "post_author_#{sn}") }
+ author { User.make(:username => "post_author_#{sn}") }
end
post = Post.make!
post.should be_a(Post)

0 comments on commit 5afba24

Please sign in to comment.