mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix rubocop warning
This commit is contained in:
committed by
Maikel Linke
parent
17e32a89f8
commit
2f1fe6d096
@@ -33,7 +33,7 @@ describe "As a consumer, I want to checkout my order" do
|
||||
let(:enterprise_fee) { create(:enterprise_fee, amount: 1.23, tax_category: fee_tax_category) }
|
||||
|
||||
let(:free_shipping_with_required_address) {
|
||||
create(:shipping_method, require_ship_address: true,
|
||||
create(:shipping_method, require_ship_address: true,
|
||||
name: "A Free Shipping with required address")
|
||||
}
|
||||
let(:free_shipping) {
|
||||
@@ -758,7 +758,8 @@ describe "As a consumer, I want to checkout my order" do
|
||||
click_button("Apply")
|
||||
|
||||
expect(page).to have_content(
|
||||
"Your voucher value is more than your order. By using this voucher you are forfeiting the remaining value."
|
||||
"Your voucher value is more than your order. " \
|
||||
"By using this voucher you are forfeiting the remaining value."
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user