Permalink
Browse files

Fix a bug in named scope test using current factory girl.

  • Loading branch information...
metaskills committed Feb 27, 2009
1 parent 3f78be1 commit f190a13e30ddd8f0c9a84673fa913fe57d8c515b
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/factories.rb
View
@@ -32,7 +32,7 @@
a.posts { |post| [post.association(:post), post.association(:post)] }
end
-Factory.define(:author_address, :class => 'AuthorAddresss') do |aa|
+Factory.define(:author_address, :class => 'AuthorAddress') do |aa|
aa.add_attribute :id, Factory.next(:id)
end

0 comments on commit f190a13

Please sign in to comment.