Permalink
Browse files

Merge pull request #1 from JEG2/master

Fix quality adjustment on post sell date conjured items
  • Loading branch information...
2 parents 0319bd4 + b1e1d3a commit 56ffaa36415be38ecc216d7f8f26087c696facce @jimweirich committed Dec 9, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 gilded_rose_spec.rb
View
@@ -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
@@ -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

0 comments on commit 56ffaa3

Please sign in to comment.