wrote basic building stuff, need to impliment more in the player.

This commit is contained in:
2026-01-12 11:36:21 -07:00
parent 6e914467ed
commit eb161e0f2e
14 changed files with 815 additions and 175 deletions
+7
View File
@@ -61,6 +61,13 @@ RSpec.describe Planet do
end
end
describe '#info_update' do
it 'returns the correct data about the planet to the player' do
data = planet.info_update
expect(data.keys).to eq(['id', 'position'])
end
end
describe '#save_to_file' do
it 'saves the planet to a file' do
expect{planet.save_to_file}.to_not raise_error