mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 07:37:55 +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:
@ -2,7 +2,7 @@ module IntegrationHelpers
|
||||
def create_user
|
||||
get "/u/hp.json"
|
||||
|
||||
expect(response).to be_success
|
||||
expect(response).to be_successful
|
||||
|
||||
body = JSON.parse(response.body)
|
||||
honeypot = body["value"]
|
||||
@ -17,7 +17,7 @@ module IntegrationHelpers
|
||||
challenge: challenge.reverse
|
||||
}
|
||||
|
||||
expect(response).to be_success
|
||||
expect(response).to be_successful
|
||||
|
||||
body = JSON.parse(response.body)
|
||||
User.find(body["user_id"])
|
||||
|
Reference in New Issue
Block a user