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:
parent
359802ac3b
commit
7d70e5175a
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user