Skip to content

Commit

Permalink
Added a failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
hemalvarambhia committed Sep 14, 2023
1 parent 19c6304 commit 1eb1f2c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spec/mars_rover_spec.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
RSpec.describe "Mars Rover" do
class MarsRover

end
it 'has an initial starting point (x, y)'

it 'has a direction (N, E, S, W)'

describe '#initialize' do
context 'with valid inputs' do
it 'sets the x correctly'
it 'sets the x correctly' do
pending('TO DO')
mars_rover = MarsRover.new
expect(mars_rover.x).to eq(0)
end
it 'sets the y correctly'
it 'sets the direction correctly'
end
Expand Down

0 comments on commit 1eb1f2c

Please sign in to comment.