Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/15b_binary_search_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
subject(:mid_game) { described_class.new(0, 9, mid_number, 4) }

it 'is not game over' do
expect(mid_game).to_not be_game_over
expect(mid_game).not_to be_game_over
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec_answers/10_drink_answer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
subject(:juice_drink) { described_class.new('juice', 8) }

it 'is not full' do
expect(juice_drink).to_not be_full
expect(juice_drink).not_to be_full
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec_answers/11b_cat_answer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
end

it 'is not hungry' do
expect(lucy).to_not be_hungry
expect(lucy).not_to be_hungry
end

it 'is hiding' do
Expand Down
2 changes: 1 addition & 1 deletion spec_answers/11c_dog_answer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
end

it 'is not barking' do
expect(ollie).to_not be_barking
expect(ollie).not_to be_barking
end

it 'is sleeping' do
Expand Down
2 changes: 1 addition & 1 deletion spec_answers/13_input_output_answer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
subject(:game_mid) { described_class.new(5, '2') }

it 'is not game over' do
expect(game_mid).to_not be_game_over
expect(game_mid).not_to be_game_over
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec_answers/14_find_number_answer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def update_range
subject(:game_mid) { described_class.new(0, 9, number_mid, 4) }

it 'is not game over' do
expect(game_mid).to_not be_game_over
expect(game_mid).not_to be_game_over
end
end
end
Expand Down