Skip to content

Commit

Permalink
should syntax is deprecated, changed the first test to expect syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
danilat committed Aug 2, 2016
1 parent 4dead49 commit 778db32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruby/gilded_rose_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
it "does not change the name" do
items = [Item.new("foo", 0, 0)]
GildedRose.new(items).update_quality()
items[0].name.should == "fixme"
expect(items[0].name).to eq "fixme"
end
end

Expand Down

0 comments on commit 778db32

Please sign in to comment.