[#4420] Display per period Retainer values on the Contract details page.

This commit is contained in:
Eric Davis
2010-09-09 14:56:20 -07:00
parent 0a1bb9169d
commit 5ef7d0271d
8 changed files with 47 additions and 20 deletions
+1 -2
View File
@@ -32,7 +32,6 @@ class DeliverableDetailsShowTest < ActionController::IntegrationTest
visit "/projects/#{@project.id}/contracts/#{@contract.id}/deliverables/#{@deliverable1.id}", :get, {:format => 'js', :as => 'deliverable_details_row', :period => '2010-02'}
puts response.body
assert_response :success
assert_select ".deliverable_details_outer_wrapper_#{@deliverable1.id}" do
assert_select "td.labor_budget_total", '100'
@@ -40,7 +39,7 @@ class DeliverableDetailsShowTest < ActionController::IntegrationTest
assert_select "td.total", '100'
assert_select "select.retainer_period_change" do
assert_select "option[selected=selected]", "Feburary 2010"
assert_select "option[selected=selected]", "February 2010"
end
end