Fixes line break assertion in account_spec

This commit is contained in:
filipefurtad0
2021-12-11 17:03:00 +00:00
parent 345b9a181c
commit 472cc114c0

View File

@@ -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