Commit Graph

13 Commits

Author SHA1 Message Date
ollie beney
3773a972aa actually fixed special item this time, feature tests also fixed 2020-11-05 12:49:20 +00:00
ollie beney
89fb0d8689 corrected special_item method and added further test for this. 2020-11-05 12:38:18 +00:00
ollie beney
58be55719a extracted #special_item? method and implemented in update quality section 2020-11-05 12:30:32 +00:00
ollie beney
7a8792f64f got taken on to zoom call with peer group, unsure whats changed but rspec still passes 2020-11-04 18:02:22 +00:00
ollie beney
6c85b130e5 changed if statement to inline conditional 2020-11-04 17:10:04 +00:00
ollie beney
0ae0723f57 changed part of method that changes backstage pass quality to zero to a more logical method 2020-11-04 17:07:04 +00:00
ollie beney
626eab9e10 updated code to use update_normal_quality method 2020-11-04 16:58:25 +00:00
ollie beney
2431b8b11e replaced instances of item != sulfuras with sulfuras? method 2020-11-04 16:57:36 +00:00
ollie beney
70040c5144 updated spelling of sulfuras 2020-11-04 16:55:20 +00:00
ollie beney
bbe5395911 added method to check if an item is selfarus 2020-11-04 16:51:20 +00:00
ollie beney
27860ced34 update_normal_item method updates items without quality allowances if quality > 0 2020-11-04 16:39:36 +00:00
ollie beney
2b410aa50b refactor backstage path to use regex, this allows other backstage items to work provided backstage is in their name 2020-11-04 15:28:47 +00:00
ollie beney
fb4d5aad4d basic test for ordinary item, made update_quality method into an instance method 2020-11-04 14:32:23 +00:00