fix test
This commit is contained in:
parent
e80ec9c1ce
commit
817e409a2b
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ describe Finance::OrdergroupsController do
|
||||||
get_with_defaults :index
|
get_with_defaults :index
|
||||||
expect(response).to have_http_status(:success)
|
expect(response).to have_http_status(:success)
|
||||||
|
|
||||||
assert_select "#total_balance#{fin_trans_type1.id}", number_to_currency(300)
|
assert_select "#total_balance#{fin_trans_type1.financial_transaction_class_id}", number_to_currency(300)
|
||||||
assert_select "#total_balance#{fin_trans_type2.id}", number_to_currency(42.23)
|
assert_select "#total_balance#{fin_trans_type2.financial_transaction_class_id}", number_to_currency(42.23)
|
||||||
assert_select '#total_balance_sum', number_to_currency(342.23)
|
assert_select '#total_balance_sum', number_to_currency(342.23)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue