@@ -375,7 +375,7 class IssuesControllerTest < ActionController::TestCase | |||||
375 | assert_response :success |
|
375 | assert_response :success | |
376 | assert_template 'changes.rxml' |
|
376 | assert_template 'changes.rxml' | |
377 | # Inline image |
|
377 | # Inline image | |
378 | assert @response.body.include?("<img src=\"http://test.host/attachments/download/10\" alt=\"\" />"), "Body did not match. Body: #{@response.body}" |
|
378 | assert_select 'content', :text => Regexp.new(Regexp.quote('http://test.host/attachments/download/10')) | |
379 | end |
|
379 | end | |
380 |
|
380 | |||
381 | def test_show_export_to_pdf |
|
381 | def test_show_export_to_pdf |
General Comments 0
You need to be logged in to leave comments.
Login now