[#4411] Round currency to 0 decimal places on the Contracts page.
This commit is contained in:
1 parent
82d46bd12a
commit
fa12fcd129
4 files changed
+30
-24
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user