diff options
Diffstat (limited to 'test/functional/issues_controller_test.rb')
-rw-r--r-- | test/functional/issues_controller_test.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 842f9f35d..3836185e4 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -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' |