@@ -1872,7 +1872,8 class IssuesControllerTest < ActionController::TestCase | |||
|
1872 | 1872 | issue = Issue.order('id DESC').first |
|
1873 | 1873 | assert_redirected_to :controller => 'issues', :action => 'new', :project_id => 'ecookbook', :issue => {:tracker_id => 3} |
|
1874 | 1874 | assert_not_nil flash[:notice], "flash was not set" |
|
1875 | assert_include %|<a href="/issues/#{issue.id}" title="This is first issue">##{issue.id}</a>|, flash[:notice], "issue link not found in the flash message" | |
|
1875 | assert_select_in flash[:notice], | |
|
1876 | 'a[href=?][title=?]', "/issues/#{issue.id}", "This is first issue", :text => "##{issue.id}" | |
|
1876 | 1877 | end |
|
1877 | 1878 | |
|
1878 | 1879 | def test_post_create_without_custom_fields_param |
General Comments 0
You need to be logged in to leave comments.
Login now