change tests to use assert_select
This commit is contained in:
parent
7f23b4784c
commit
e80ec9c1ce
3 changed files with 14 additions and 7 deletions
|
|
@ -28,6 +28,6 @@
|
|||
%th
|
||||
- FinancialTransactionClass.sorted.each do |c|
|
||||
- name = FinancialTransactionClass.has_multiple_classes ? c.display : heading_helper(Ordergroup, :account_balance)
|
||||
%th.numeric= format_currency @total_balances[c.id]
|
||||
%th.numeric
|
||||
%th.numeric{:id => "total_balance#{c.id}"}= format_currency @total_balances[c.id]
|
||||
%th.numeric#total_balance_sum
|
||||
= format_currency @total_balances.values.reduce(:+)
|
||||
Loading…
Add table
Add a link
Reference in a new issue