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
# 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: "" }
}
# 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: "" }
}
follow_redirect!
assert_select 'div', /new content/
end
-
end