Merged r2768, r2773, r2774, r2775, r2796 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@2882 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -255,6 +255,14 @@ class IssuesControllerTest < Test::Unit::TestCase
|
||||
:child => { :tag => 'legend',
|
||||
:content => /Notes/ } }
|
||||
end
|
||||
|
||||
def test_show_atom
|
||||
get :show, :id => 2, :format => 'atom'
|
||||
assert_response :success
|
||||
assert_template 'changes'
|
||||
# Inline image
|
||||
assert @response.body.include?("<img src=\"http://test.host/attachments/download/10\" alt=\"\" />")
|
||||
end
|
||||
|
||||
def test_show_export_to_pdf
|
||||
get :show, :id => 3, :format => 'pdf'
|
||||
|
||||
Reference in New Issue
Block a user