Permalink
Browse files

removed github/twitter/google attendee factories

  • Loading branch information...
1 parent 2f87a7d commit b7468878f80672dffd909be100d115d2ce79a0c8 @senior senior committed Feb 1, 2012
Showing with 0 additions and 37 deletions.
  1. +0 −37 spec/factories.rb
View
@@ -316,43 +316,6 @@
end
end
-Factory.define :not_registered_attendee, :parent => :attendee do |ra|
-end
-
-Factory.define :attendee_with_service, :parent => :attendee do |ra|
- ra.after_create do |a|
- a.attendee_cred = Factory(:attendee_cred)
- a.attendee_cred.services << Service.new(:uemail => 'henry@chinaski.com',
- :uname => 'Henry Chinaski',
- :uid => 'Henry',
- :provider => 'google')
- a.save!
- end
-end
-
-Factory.define :github_attendee, :parent => :attendee do |ra|
- ra.after_create do |a|
- a.attendee_cred = Factory(:attendee_cred)
- a.attendee_cred.services << Service.new(:uemail => 'henry@chinaski.com',
- :uname => 'Henry Chinaski',
- :uid => 'Henry',
- :provider => 'github')
- a.save!
- end
-end
-
-Factory.define :twitter_attendee, :parent => :attendee do |ra|
- ra.after_create do |a|
- a.attendee_cred = Factory(:attendee_cred)
- a.attendee_cred.services << Service.new(:uemail => 'henry@chinaski.com',
- :uname => 'Henry Chinaski',
- :uid => 'Henry',
- :provider => 'twitter')
- a.save!
- end
-end
-
-
Factory.define :page do
end

0 comments on commit b746887

Please sign in to comment.