Skip to content

Commit

Permalink
Improved code formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
hemalvarambhia committed Oct 26, 2023
1 parent 7e90229 commit 61cc09b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/rotating_a_mars_rover_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
require 'mars_rover_helper'
describe 'Rotating a mars rover' do
def self.mars_rover_facing(direction:)
MarsRover.new(map: Map.new(x_domain: (0..10), y_domain: (0..10)), starting_location: Location.new(coordinates: Coordinates.new(x: 1, y: 2), direction: direction))
MarsRover.new(
map: Map.new(x_domain: (0..10), y_domain: (0..10)),
starting_location: Location.new(coordinates: Coordinates.new(x: 1, y: 2), direction: direction)
)
end

describe 'Turning left' do
Expand Down

0 comments on commit 61cc09b

Please sign in to comment.