19 lines
351 B
Ruby
19 lines
351 B
Ruby
# frozen_string_literal: true
|
|
|
|
AdminUser.create(email: "admin@example.com", password: "password")
|
|
|
|
user = User.create!(
|
|
first_name: "Test",
|
|
last_name: "User",
|
|
email: "user@example.com",
|
|
password: "password"
|
|
)
|
|
|
|
currency = Currency.create!(name: "CAKE")
|
|
|
|
Balance.create!(
|
|
user_id: user.id,
|
|
currency_id: currency.id,
|
|
amount: 153124.72088
|
|
)
|