Commit e866f799 authored by edavis10's avatar edavis10

Use assert_select to check the download link. (#4204)

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent b0289afa
......@@ -375,7 +375,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_response :success
assert_template 'changes.rxml'
# Inline image
assert @response.body.include?("&lt;img src=\"\" alt=\"\" /&gt;"), "Body did not match. Body: #{@response.body}"
assert_select 'content', :text =>''))
def test_show_export_to_pdf
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment