##// END OF EJS Templates
Fixes functional tests broken by r1501....
Jean-Philippe Lang -
r1490:383da1e6d610
parent child
Show More
@@ -38,7 +38,9 class IssuesControllerTest < Test::Unit::TestCase
38 :custom_fields,
38 :custom_fields,
39 :custom_values,
39 :custom_values,
40 :custom_fields_trackers,
40 :custom_fields_trackers,
41 :time_entries
41 :time_entries,
42 :journals,
43 :journal_details
42
44
43 def setup
45 def setup
44 @controller = IssuesController.new
46 @controller = IssuesController.new
@@ -269,7 +271,6 class IssuesControllerTest < Test::Unit::TestCase
269 get :reply, :id => 1
271 get :reply, :id => 1
270 assert_response :success
272 assert_response :success
271 assert_select_rjs :show, "update"
273 assert_select_rjs :show, "update"
272 assert_select_rjs :replace_html, "notes"
273 end
274 end
274
275
275 def test_reply_to_note
276 def test_reply_to_note
@@ -277,7 +278,6 class IssuesControllerTest < Test::Unit::TestCase
277 get :reply, :id => 1, :journal_id => 2
278 get :reply, :id => 1, :journal_id => 2
278 assert_response :success
279 assert_response :success
279 assert_select_rjs :show, "update"
280 assert_select_rjs :show, "update"
280 assert_select_rjs :replace_html, "notes"
281 end
281 end
282
282
283 def test_post_edit
283 def test_post_edit
General Comments 0
You need to be logged in to leave comments. Login now