2010-05-10 22:39:52 +00:00
|
|
|
account = Account.create! :name => 'Admin', :email => 'admin@locomotiveapp.org', :password => 'locomotive', :password_confirmation => 'locomotive'
|
|
|
|
|
|
|
|
site = Site.new :name => 'Locomotive test website', :subdomain => 'test'
|
|
|
|
site.memberships.build :account => account, :admin => true
|
|
|
|
site.save!
|