mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-11 23:17:48 +00:00
Fixes line break assertion in account_spec
This commit is contained in:
@@ -73,8 +73,8 @@ describe '
|
||||
href: "#{distributor2.permalink}/shop", count: 1)
|
||||
expect(page).not_to have_content distributor_without_orders.name
|
||||
|
||||
expect(page).to have_content distributor1.name + "\n" + "Balance due"
|
||||
expect(page).to have_content distributor_credit.name + "\nCredit"
|
||||
expect(page).to have_content distributor1.name + " Balance due"
|
||||
expect(page).to have_content distributor_credit.name + " Credit"
|
||||
|
||||
# It reveals table of orders for distributors when clicked
|
||||
expand_active_table_node distributor1.name
|
||||
|
||||
Reference in New Issue
Block a user