summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test/issues_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-09-12 12:57:58 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-09-12 12:57:58 +0000
commit1f6496c882f3801b9aa0dc0eb0e85a13f281fec4 (patch)
treeffe3a42d4ebf1354103ef7c648c2b1f1600fde11 /test/integration/api_test/issues_test.rb
parent910eb7dfa27ab3beb7f8b5b68b2e115824cc8655 (diff)
downloadredmine-1f6496c882f3801b9aa0dc0eb0e85a13f281fec4.tar.gz
redmine-1f6496c882f3801b9aa0dc0eb0e85a13f281fec4.zip
remove spaces inside {} of test/integration/api_test/issues_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20023 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/api_test/issues_test.rb')
-rw-r--r--test/integration/api_test/issues_test.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/integration/api_test/issues_test.rb b/test/integration/api_test/issues_test.rb
index d040728f9..af49e4e65 100644
--- a/test/integration/api_test/issues_test.rb
+++ b/test/integration/api_test/issues_test.rb
@@ -119,7 +119,7 @@ class Redmine::ApiTest::IssuesTest < Redmine::ApiTest::Base
where(:custom_values => {:custom_field_id => 1, :value => 'MySQL'}).map(&:id)
assert expected_ids.any?
assert_select 'issues > issue > id', :count => expected_ids.count do |ids|
- ids.each { |id| assert expected_ids.delete(id.children.first.content.to_i) }
+ ids.each {|id| assert expected_ids.delete(id.children.first.content.to_i)}
end
end
@@ -132,7 +132,7 @@ class Redmine::ApiTest::IssuesTest < Redmine::ApiTest::Base
assert expected_ids.any?
assert_select 'issues > issue > id', :count => expected_ids.count do |ids|
- ids.each { |id| assert expected_ids.delete(id.children.first.content.to_i) }
+ ids.each {|id| assert expected_ids.delete(id.children.first.content.to_i)}
end
end
@@ -183,7 +183,7 @@ class Redmine::ApiTest::IssuesTest < Redmine::ApiTest::Base
assert expected_ids.any?
assert_select 'issues > issue > id', :count => expected_ids.count do |ids|
- ids.each { |id| assert expected_ids.delete(id.children.first.content.to_i) }
+ ids.each {|id| assert expected_ids.delete(id.children.first.content.to_i)}
end
end
@@ -191,9 +191,9 @@ class Redmine::ApiTest::IssuesTest < Redmine::ApiTest::Base
get '/issues.json?status_id=5'
json = ActiveSupport::JSON.decode(response.body)
- status_ids_used = json['issues'].collect {|j| j['status']['id'] }
+ status_ids_used = json['issues'].collect {|j| j['status']['id']}
assert_equal 3, status_ids_used.length
- assert status_ids_used.all? {|id| id == 5 }
+ assert status_ids_used.all? {|id| id == 5}
end
test "GET /issues/:id.xml with journals" do