diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-30 02:44:21 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-30 02:44:21 +0000 |
commit | b5b2f499f52191155a528b4ca8797e780e78a703 (patch) | |
tree | 74a8cf1136e5b9bddab6734820d293735bb764e7 /test/integration/api_test/issues_test.rb | |
parent | 001177f6816da459adc775d345e4ae43fa27f90a (diff) | |
download | redmine-b5b2f499f52191155a528b4ca8797e780e78a703.tar.gz redmine-b5b2f499f52191155a528b4ca8797e780e78a703.zip |
code cleanup: rubocop: fix Layout/LeadingCommentSpace in test/integration/api_test/issues_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18553 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/api_test/issues_test.rb')
-rw-r--r-- | test/integration/api_test/issues_test.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/integration/api_test/issues_test.rb b/test/integration/api_test/issues_test.rb index a9f9a4159..787076c26 100644 --- a/test/integration/api_test/issues_test.rb +++ b/test/integration/api_test/issues_test.rb @@ -405,9 +405,7 @@ class Redmine::ApiTest::IssuesTest < Redmine::ApiTest::Base parent = Issue.find(3) parent.update_columns :estimated_hours => 2.0 child = Issue.generate!(:parent_issue_id => parent.id, :estimated_hours => 3.0) - # remove permission! Role.anonymous.remove_permission! :view_time_entries - #Role.all.each { |role| role.remove_permission! :view_time_entries } get '/issues/3.xml' assert_equal 'application/xml', response.content_type @@ -456,9 +454,7 @@ class Redmine::ApiTest::IssuesTest < Redmine::ApiTest::Base parent = Issue.find(3) parent.update_columns :estimated_hours => 2.0 child = Issue.generate!(:parent_issue_id => parent.id, :estimated_hours => 3.0) - # remove permission! Role.anonymous.remove_permission! :view_time_entries - #Role.all.each { |role| role.remove_permission! :view_time_entries } get '/issues/3.json' assert_equal 'application/json', response.content_type |