Skip to content

Commit 1e194f0

Browse files
authored
Remove duplicate donation system spec (#4863)
1 parent ee74d3e commit 1e194f0

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

spec/system/donation_system_spec.rb

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -312,20 +312,6 @@
312312
end.to change { Donation.count }.by(1)
313313
end
314314

315-
it "Allows User to create a donation for Purchased Supplies" do
316-
select Donation::SOURCES[:misc], from: "donation_source"
317-
expect(page).not_to have_xpath("//select[@id='donation_donation_site_id']")
318-
expect(page).not_to have_xpath("//select[@id='donation_product_drive_participant_id']")
319-
expect(page).not_to have_xpath("//select[@id='donation_manufacturer_id']")
320-
select StorageLocation.first.name, from: "donation_storage_location_id"
321-
select Item.alphabetized.first.name, from: "donation_line_items_attributes_0_item_id"
322-
fill_in "donation_line_items_attributes_0_quantity", with: "5"
323-
324-
expect do
325-
click_button "Save"
326-
end.to change { Donation.count }.by(1)
327-
end
328-
329315
it "Allows User to create a donation with a Miscellaneous source" do
330316
select Donation::SOURCES[:misc], from: "donation_source"
331317
expect(page).not_to have_xpath("//select[@id='donation_donation_site_id']")

0 commit comments

Comments
 (0)