summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-24 11:27:28 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-01-24 11:27:28 +0000
commitb50fa8fec19b9710db905439eddeac90e9bbe4b9 (patch)
treece8464c8f081a5300b7820a04676e1ff3da779fe /test/integration/api_test
parent91967554b93f2477ca13e9389dd6379b50922dd6 (diff)
downloadredmine-b50fa8fec19b9710db905439eddeac90e9bbe4b9.tar.gz
redmine-b50fa8fec19b9710db905439eddeac90e9bbe4b9.zip
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
Diffstat (limited to 'test/integration/api_test')
-rw-r--r--test/integration/api_test/issues_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/integration/api_test/issues_test.rb b/test/integration/api_test/issues_test.rb
index 747ade2f4..78775eaed 100644
--- a/test/integration/api_test/issues_test.rb
+++ b/test/integration/api_test/issues_test.rb
@@ -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