掲示板実装
This commit is contained in:
12
test/fixtures/games.yml
vendored
12
test/fixtures/games.yml
vendored
@@ -1,11 +1,13 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
title: MyString
|
||||
participants_count: 1
|
||||
memo: MyText
|
||||
title: GameOne
|
||||
status: in_progress
|
||||
turn_schedule: "0,12"
|
||||
participants_count: 7
|
||||
|
||||
two:
|
||||
title: MyString
|
||||
title: GameTwo
|
||||
status: recruiting
|
||||
turn_schedule: "0,12"
|
||||
participants_count: 1
|
||||
memo: MyText
|
||||
|
||||
18
test/fixtures/users.yml
vendored
18
test/fixtures/users.yml
vendored
@@ -9,3 +9,21 @@ two:
|
||||
email: two@example.com
|
||||
password_digest: <%= BCrypt::Password.create('password') %>
|
||||
admin: false
|
||||
|
||||
austria:
|
||||
username: AustriaUser
|
||||
email: austria@example.com
|
||||
password_digest: <%= BCrypt::Password.create('password') %>
|
||||
admin: false
|
||||
|
||||
germany:
|
||||
username: GermanyUser
|
||||
email: germany@example.com
|
||||
password_digest: <%= BCrypt::Password.create('password') %>
|
||||
admin: false
|
||||
|
||||
russia:
|
||||
username: RussiaUser
|
||||
email: russia@example.com
|
||||
password_digest: <%= BCrypt::Password.create('password') %>
|
||||
admin: false
|
||||
|
||||
Reference in New Issue
Block a user