lib/test/muck_factories.rb in muck-engine-3.2.3 vs lib/test/muck_factories.rb in muck-engine-3.2.4

- old
+ new

@@ -264,6 +264,16 @@ Factory.define :membership do |f| f.group {|a| a.association(:group)} f.user {|a| a.association(:user)} f.banned false f.role "member" +end + +Factory.define :authentication do |f| + f.authenticatable {|a| a.association(:user)} + f.provider 'twitter' + f.name { Factory.next(:name) } + f.uid { Factory.next(:uri) } + f.token { Factory.next(:uri) } + f.secret { Factory.next(:uri) } + f.raw_auth { Factory.next(:description) } end \ No newline at end of file