lib/test/muck_factories.rb in muck-engine-0.2.23 vs lib/test/muck_factories.rb in muck-engine-0.2.24
- old
+ new
@@ -217,18 +217,19 @@
end
Factory.define :group do |f|
f.creator {|a| a.association(:user)}
f.name { Factory.next(:name) }
+ f.description { Factory.next(:description) }
f.member_count 0
end
-Factory.define :membership_requests do |f|
+Factory.define :membership_request do |f|
f.group {|a| a.association(:group)}
f.user {|a| a.association(:user)}
end
-Factory.define :memberships do |f|
+Factory.define :membership do |f|
f.group {|a| a.association(:group)}
f.user {|a| a.association(:user)}
f.banned false
f.role "member"
end
\ No newline at end of file