mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
DEV: Upgrade Discourse to Rails 6 (#8083)
* Adjustments to pass specs on Rails 6.0.0 * Use classic autoloader instead of Zeitwerk * Update Rails 6.0.0 deprecated methods * Rails 6.0.0 not allowing column with integer name * Drop freedom_patches/rails6.rb * Default value for trigger_transactional_callbacks? is true * Bump rspec-rails version to 4.0.0.beta2
This commit is contained in:
@ -426,7 +426,7 @@ describe GroupsController do
|
||||
get "/groups/#{group.name}/posts.rss"
|
||||
|
||||
expect(response.status).to eq(200)
|
||||
expect(response.content_type).to eq('application/rss+xml')
|
||||
expect(response.media_type).to eq('application/rss+xml')
|
||||
end
|
||||
end
|
||||
|
||||
@ -435,7 +435,7 @@ describe GroupsController do
|
||||
get "/groups/#{group.name}/mentions.rss"
|
||||
|
||||
expect(response.status).to eq(200)
|
||||
expect(response.content_type).to eq('application/rss+xml')
|
||||
expect(response.media_type).to eq('application/rss+xml')
|
||||
end
|
||||
|
||||
it 'fails when disabled' do
|
||||
|
Reference in New Issue
Block a user