Skip to content

Commit

Permalink
Unify flash messaging casing in new admin UI
Browse files Browse the repository at this point in the history
This should consistently use either uppercase or lowercase. Since the
others use lowercase, I went with that.
  • Loading branch information
MadelineCollier committed Aug 8, 2024
1 parent de1cf6b commit cbb6253
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/config/locales/adjustment_reasons.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ en:
adjustment_reasons:
title: "Adjustment Reasons"
destroy:
success: "Adjustment Reasons were successfully removed."
success: "Adjustment reasons were successfully removed."
create:
success: "Adjustment reason was successfully created."
update:
Expand Down
2 changes: 1 addition & 1 deletion admin/spec/features/adjustment_reasons_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

select_row("Default-adjustment-reason")
click_on "Delete"
expect(page).to have_content("Adjustment Reasons were successfully removed.")
expect(page).to have_content("Adjustment reasons were successfully removed.")
expect(page).not_to have_content("Default-adjustment-reason")
expect(Spree::AdjustmentReason.count).to eq(0)
expect(page).to be_axe_clean
Expand Down

0 comments on commit cbb6253

Please sign in to comment.