Skip to content

Commit

Permalink
Update bag_spec.rb
Browse files Browse the repository at this point in the history
Corrected syntax error in `expect` statement on line 59
  • Loading branch information
rtillies authored Mar 31, 2022
1 parent a1e4a98 commit f3931d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objects-and-methods/exercise-2/spec/bag_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
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

xit 'can get a particular type of candy' do
Expand Down

0 comments on commit f3931d1

Please sign in to comment.