##// END OF EJS Templates
Fixed test failure....
Jean-Philippe Lang -
r9727:ad68830a1b87
parent child
Show More
@@ -1556,7 +1556,7 class IssuesControllerTest < ActionController::TestCase
1556 issue = Issue.first(:order => 'id DESC')
1556 issue = Issue.first(:order => 'id DESC')
1557 assert_redirected_to :controller => 'issues', :action => 'new', :project_id => 'ecookbook', :issue => {:tracker_id => 3}
1557 assert_redirected_to :controller => 'issues', :action => 'new', :project_id => 'ecookbook', :issue => {:tracker_id => 3}
1558 assert_not_nil flash[:notice], "flash was not set"
1558 assert_not_nil flash[:notice], "flash was not set"
1559 assert flash[:notice].include?("<a href='/issues/#{issue.id}'>##{issue.id}</a>"), "issue link not found in flash: #{flash[:notice]}"
1559 assert flash[:notice].include?(%|<a href="/issues/#{issue.id}">##{issue.id}</a>|), "issue link not found in flash: #{flash[:notice]}"
1560 end
1560 end
1561
1561
1562 def test_post_create_without_custom_fields_param
1562 def test_post_create_without_custom_fields_param
General Comments 0
You need to be logged in to leave comments. Login now