wrote basic building stuff, need to impliment more in the player.
This commit is contained in:
@@ -166,7 +166,7 @@ RSpec.describe Player do
|
||||
|
||||
before do
|
||||
subject.create_new(credits, metal, crystals, fuel)
|
||||
subject.player_planets << double('planet')
|
||||
subject.player_planets << double('planet', info_update: 'test_data')
|
||||
subject.player_ships << double('ship')
|
||||
end
|
||||
|
||||
@@ -177,7 +177,7 @@ RSpec.describe Player do
|
||||
'request_id' => request_id,
|
||||
'payload' => {
|
||||
'resources' => subject.player_resources,
|
||||
'planets' => subject.player_planets,
|
||||
'planets' => ['test_data'],
|
||||
'ships' => subject.player_ships
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user