mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 04:13:53 +08:00
DEV: Rails 5.2 upgrade and global gem upgrade
This updates tests to use latest rails 5 practice and updates ALL dependencies that could be updated Performance testing shows that performance has not regressed if anything it is marginally faster now.
This commit is contained in:
@ -145,7 +145,7 @@ RSpec.describe EmailController do
|
||||
key = SecureRandom.hex
|
||||
$redis.set(key, user.email)
|
||||
get '/email/unsubscribed', params: { key: key, topic_id: topic.id }
|
||||
expect(response).to be_success
|
||||
expect(response).to be_successful
|
||||
expect(response.body).to include(topic.title)
|
||||
end
|
||||
end
|
||||
@ -155,7 +155,7 @@ RSpec.describe EmailController do
|
||||
key = SecureRandom.hex
|
||||
$redis.set(key, user.email)
|
||||
get '/email/unsubscribed', params: { key: key, topic_id: private_topic.id }
|
||||
expect(response).to be_success
|
||||
expect(response).to be_successful
|
||||
expect(response.body).to_not include(private_topic.title)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user