Remove HolyGrail, not worth it yet
This commit is contained in:
@@ -46,7 +46,6 @@ class DeliverablesEditTest < ActionController::IntegrationTest
|
||||
end
|
||||
|
||||
assert_select "select#fixed_deliverable_type", :count => 0 # Not editable
|
||||
assert js("jQuery('#fixed_deliverable_total_input').is(':visible')"), "Total is hidden when it should be visible"
|
||||
|
||||
within("#deliverable-details") do
|
||||
fill_in "Title", :with => 'An updated title'
|
||||
@@ -76,7 +75,6 @@ class DeliverablesEditTest < ActionController::IntegrationTest
|
||||
end
|
||||
|
||||
assert_select "select#hourly_deliverable_type", :count => 0 # Not editable
|
||||
assert js("jQuery('#hourly_deliverable_total_input').is(':hidden')"), "Total is visible when it should be hidden"
|
||||
|
||||
within("#deliverable-details") do
|
||||
fill_in "Title", :with => 'An updated title'
|
||||
|
||||
@@ -81,8 +81,6 @@ class DeliverablesNewTest < ActionController::IntegrationTest
|
||||
end
|
||||
|
||||
fill_in "Total", :with => '1,000.00'
|
||||
# TODO: webrat can't trigger DOM events so it can't appear
|
||||
# assert js("jQuery('#deliverable_total').is(':visible')"), "Total is hidden when it should be visible"
|
||||
|
||||
click_button "Save"
|
||||
|
||||
@@ -118,10 +116,6 @@ class DeliverablesNewTest < ActionController::IntegrationTest
|
||||
end
|
||||
fill_in "Total", :with => '1,000.00'
|
||||
|
||||
# # Hide and clear the total
|
||||
# assert js("jQuery('#deliverable_total_input').is(':hidden')"),
|
||||
# "Total is visible when it should be hidden"
|
||||
|
||||
click_button "Save"
|
||||
|
||||
assert_response :success
|
||||
|
||||
Reference in New Issue
Block a user