Skip to content

Commit aeaff49

Browse files
committed
Fix specs
1 parent 77e4ad2 commit aeaff49

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spec/requests/items_requests_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
it { is_expected.to be_successful }
2020

2121
it "highlights total quantity if it is below minimum quantity" do
22-
item_pullups = create(:item, name: "the most wonderful magical pullups that truly potty train", category: "Magic Toddlers", on_hand_minimum_quantity: 100)
23-
item_tampons = create(:item, name: "blackbeard's rugged tampons", category: "Menstrual Products", on_hand_minimum_quantity: 100)
22+
item_pullups = create(:item, name: "the most wonderful magical pullups that truly potty train", on_hand_minimum_quantity: 100)
23+
item_tampons = create(:item, name: "blackbeard's rugged tampons", on_hand_minimum_quantity: 100)
2424
storage_name = "the poop catcher warehouse"
2525
num_pullups_in_donation = 666
2626
num_pullups_second_donation = 15

spec/system/item_system_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@
112112
end
113113

114114
describe "Item Table Tabs >" do
115-
let(:item_pullups) { create(:item, name: "the most wonderful magical pullups that truly potty train", category: "Magic Toddlers") }
116-
let(:item_tampons) { create(:item, name: "blackbeard's rugged tampons", category: "Menstrual Products") }
115+
let(:item_pullups) { create(:item, name: "the most wonderful magical pullups that truly potty train") }
116+
let(:item_tampons) { create(:item, name: "blackbeard's rugged tampons") }
117117
let(:storage_name) { "the poop catcher warehouse" }
118118
let(:storage) { create(:storage_location, :with_items, item: item_pullups, item_quantity: num_pullups_in_donation, name: storage_name) }
119119
let!(:aux_storage) { create(:storage_location, :with_items, item: item_pullups, item_quantity: num_pullups_second_donation, name: "a secret secondary location") }

0 commit comments

Comments
 (0)