Skip to content

Commit

Permalink
Remove direct_debit references from seeds.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Altmann committed Apr 27, 2016
1 parent a000d19 commit a0f61c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@

admin = User.find_by_email("admin@admin.com")
unless admin
admin = FactoryGirl.create(:admin_user, :email => "admin@admin.com", :password => "password", direct_debit: true)
admin = FactoryGirl.create(:admin_user, :email => "admin@admin.com", :password => "password")
end

user = User.find_by_email("user@user.com")
unless user
user = FactoryGirl.create(:private_user, :email => "user@user.com", :password => "password", direct_debit: true)
user = FactoryGirl.create(:private_user, :email => "user@user.com", :password => "password")
end

user_legal = User.find_by_email("le@le.com")
unless user_legal
user_legal = FactoryGirl.create(:legal_entity, :paypal_data, :with_unified_transport_information, :email => "le@le.com", :password => "password", direct_debit: true)
user_legal = FactoryGirl.create(:legal_entity, :paypal_data, :with_unified_transport_information, :email => "le@le.com", :password => "password")
end

require_relative 'fixtures/category_seed_data.rb'
Expand Down

0 comments on commit a0f61c3

Please sign in to comment.