diff --git a/spec/system/consumer/account_spec.rb b/spec/system/consumer/account_spec.rb index 9fc18b37ba..c58e540db7 100644 --- a/spec/system/consumer/account_spec.rb +++ b/spec/system/consumer/account_spec.rb @@ -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