mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 06:15:59 +01:00
Fixed attachment fixture (should be attached to issue 3 because one of its journals references it), r13937.
git-svn-id: http://svn.redmine.org/redmine/trunk@13942 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -280,10 +280,10 @@ class Redmine::ApiTest::IssuesTest < Redmine::ApiTest::Base
|
||||
get '/issues/3.xml?include=attachments'
|
||||
|
||||
assert_select 'issue attachments[type=array]' do
|
||||
assert_select 'attachment', 5
|
||||
assert_select 'attachment id', :text => '4' do
|
||||
assert_select '~ filename', :text => 'source.rb'
|
||||
assert_select '~ content_url', :text => 'http://www.example.com/attachments/download/4/source.rb'
|
||||
assert_select 'attachment', 4
|
||||
assert_select 'attachment id', :text => '1' do
|
||||
assert_select '~ filename', :text => 'error281.txt'
|
||||
assert_select '~ content_url', :text => 'http://www.example.com/attachments/download/1/error281.txt'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user