Skip to content

Commit

Permalink
Merge pull request #1 from JEG2/master
Browse files Browse the repository at this point in the history
Fix quality adjustment on post sell date conjured items
  • Loading branch information
jimweirich committed Dec 9, 2011
2 parents 0319bd4 + b1e1d3a commit 56ffaa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gilded_rose_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@

context "on sell date" do
Given(:initial_sell_in) { 0 }
Then { item.quality.should == initial_quality-2 }
Then { item.quality.should == initial_quality-4 }
Then { item.sell_in.should == initial_sell_in-1 }

context "at zero quality" do
Expand All @@ -196,7 +196,7 @@

context "after sell date" do
Given(:initial_sell_in) { -10 }
Then { item.quality.should == initial_quality-2 }
Then { item.quality.should == initial_quality-4 }
Then { item.sell_in.should == initial_sell_in-1 }

context "at zero quality" do
Expand Down

0 comments on commit 56ffaa3

Please sign in to comment.