[#4411] Round currency to 0 decimal places on the Contracts page.

This commit is contained in:
Eric Davis
2010-08-12 10:03:37 -07:00
parent 82d46bd12a
commit fa12fcd129
4 changed files with 30 additions and 24 deletions
+4 -4
View File
@@ -119,7 +119,7 @@ class ContractsShowTest < ActionController::IntegrationTest
visit_contract_page(@contract)
assert_select "table#deliverables" do
assert_select "td.labor", :text => /4,200.50/
assert_select "td.labor", :text => /4,201/
end
end
@@ -137,7 +137,7 @@ class ContractsShowTest < ActionController::IntegrationTest
visit_contract_page(@contract)
assert_select "table#deliverables" do
assert_select "td.overhead", :text => /4,200.50/
assert_select "td.overhead", :text => /4,201/
end
end
@@ -171,7 +171,7 @@ class ContractsShowTest < ActionController::IntegrationTest
visit_contract_page(@contract)
assert_select "table#deliverables" do
assert_select "td.labor", :text => /1,000.00/
assert_select "td.labor", :text => /1,000/
end
end
@@ -205,7 +205,7 @@ class ContractsShowTest < ActionController::IntegrationTest
visit_contract_page(@contract)
assert_select "table#deliverables" do
assert_select "td.overhead", :text => /2,000.00/
assert_select "td.overhead", :text => /2,000/
end
end