Fix game helper setup include a table
This commit is contained in:
parent
c622da90bd
commit
5e5be7ca9a
@ -53,6 +53,7 @@ module Features
|
||||
def setup_game
|
||||
# Default game has 4 players
|
||||
game = FactoryGirl.create :game
|
||||
table = game.table.create!(title: "Factory Table")
|
||||
user1 = FactoryGirl.create :user
|
||||
user2 = FactoryGirl.create :user
|
||||
user3 = FactoryGirl.create :user
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user