db/seeds.rb in cadenero-0.0.2.b5 vs db/seeds.rb in cadenero-0.0.2.b6
- old
+ new
@@ -1,8 +1,5 @@
-@account = Cadenero::V1::Account.create!(name: Cadenero.default_account_name,
+@account = Cadenero::V1::Account.create_with_owner(name: Cadenero.default_account_name,
subdomain: Cadenero.default_account_subdomain,
owner: Cadenero::User.create!(email: Cadenero.default_user_email,
password: Cadenero.default_user_password,
- password_confirmation: Cadenero.default_user_password))
-
-@account.create_schema
-@account.ensure_authentication_token!
+ password_confirmation: Cadenero.default_user_password))
\ No newline at end of file