Skip to content

Commit ecd672f

Browse files
committed
Fix spec to use lower-case "unit" unit
1 parent 4a24ce4 commit ecd672f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/system/partners/requests_system_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
expect(page).to have_selector("#request_item_requests_attributes_0_request_unit", visible: true)
4040
expect(page).to have_select("request_item_requests_attributes_0_request_unit",
4141
selected: "Please select a unit",
42-
options: ["Please select a unit", "Units", "packs"])
42+
options: ["Please select a unit", "units", "packs"])
4343
fill_in "request_item_requests_attributes_0_quantity", with: 50
4444
click_on "Submit Essentials Request"
4545

@@ -55,7 +55,7 @@
5555
expect(page).to have_selector("#request_item_requests_attributes_0_request_unit", visible: true)
5656
expect(page).to have_select("request_item_requests_attributes_0_request_unit",
5757
selected: "Please select a unit",
58-
options: ["Please select a unit", "Units", "packs"])
58+
options: ["Please select a unit", "units", "packs"])
5959
select "packs", from: "request_item_requests_attributes_0_request_unit"
6060
click_on "Add Another Item"
6161

0 commit comments

Comments
 (0)