Skip to content

Commit

Permalink
Update bag_spec.rb
Browse files Browse the repository at this point in the history
Fixed syntax in `expect` statement on line 59
  • Loading branch information
rtillies authored Mar 31, 2022
1 parent 4903dc1 commit a1e4a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objects-and-methods/exercise-1/spec/bag_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
bag << Candy.new("Lindt chocolate")

expect(bag.contains?('Lindt chocolate')).to be true
expect(bag.contains?('Nerds')).to false
expect(bag.contains?('Nerds')).to be false
end
end

0 comments on commit a1e4a98

Please sign in to comment.