Skip to content

Commit 14cd49d

Browse files
committed
fix: add human-readable name for DonationSite model to en.yml
1 parent cd48322 commit 14cd49d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

config/locales/en.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ en:
3939
distribution:
4040
issued_at: "Distribution date and time"
4141
models:
42-
product_drive: "Product Drive"
42+
product_drive: "Product Drive"
43+
donation_site: "Donation Site"

spec/system/donation_system_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@
362362

363363
it "Allows User to create a Donataion Site from donation" do
364364
select Donation::SOURCES[:donation_site], from: "donation_source"
365-
select "---Create New Donation site---", from: "donation_donation_site_id"
365+
select "---Create New Donation Site---", from: "donation_donation_site_id"
366366

367367
find(".modal-content")
368368
expect(page).to have_content("New Donation Site")

0 commit comments

Comments
 (0)