1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-30 12:19:38 +00:00

code cleanup: rubocop: fix Layout/SpaceAfterColon in test/integration/wiki_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18611 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-10-07 07:21:14 +00:00
parent 359802ac3b
commit 7d70e5175a
2 changed files with 2 additions and 8 deletions

View File

@ -360,11 +360,6 @@ Layout/RescueEnsureAlignment:
Exclude:
- 'db/migrate/085_add_role_tracker_old_status_index_to_workflows.rb'
# Cop supports --auto-correct.
Layout/SpaceAfterColon:
Exclude:
- 'test/integration/wiki_test.rb'
# Cop supports --auto-correct.
Layout/SpaceAfterComma:
Enabled: false

View File

@ -44,7 +44,7 @@ class WikiIntegrationTest < Redmine::IntegrationTest
# this update should not end up with a loss of content
put '/projects/ecookbook/wiki/Wiki', params: {
content: {
text: "# Wiki\r\n\r\ncontent", comments:""
text: "# Wiki\r\n\r\ncontent", comments: ""
},
wiki_page: { parent_id: "" }
}
@ -61,7 +61,7 @@ class WikiIntegrationTest < Redmine::IntegrationTest
# this update should not end up with a loss of content
put '/projects/ecookbook/wiki/Wiki', params: {
content: {
version: content.version, text: "# Wiki\r\n\r\nnew content", comments:""
version: content.version, text: "# Wiki\r\n\r\nnew content", comments: ""
},
wiki_page: { parent_id: "" }
}
@ -70,5 +70,4 @@ class WikiIntegrationTest < Redmine::IntegrationTest
follow_redirect!
assert_select 'div', /new content/
end
end