Skip to content

Commit 56ffaa3

Browse files
committed
Merge pull request #1 from JEG2/master
Fix quality adjustment on post sell date conjured items
2 parents 0319bd4 + b1e1d3a commit 56ffaa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gilded_rose_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185

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

191191
context "at zero quality" do
@@ -196,7 +196,7 @@
196196

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

202202
context "at zero quality" do

0 commit comments

Comments
 (0)