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:
Sam
2018-06-05 17:29:17 +10:00
parent 2bd905c632
commit 89ad2b5900
103 changed files with 900 additions and 864 deletions

View File

@ -24,7 +24,7 @@ describe WebhooksController do
"Message-Id" => "<12345@il.com>"
}, format: :json
expect(response).to be_success
expect(response).to be_successful
email_log.reload
expect(email_log.bounced).to eq(true)
@ -50,7 +50,7 @@ describe WebhooksController do
]
}, format: :json
expect(response).to be_success
expect(response).to be_successful
email_log.reload
expect(email_log.bounced).to eq(true)
@ -72,7 +72,7 @@ describe WebhooksController do
"CustomID" => message_id
}, format: :json
expect(response).to be_success
expect(response).to be_successful
email_log.reload
expect(email_log.bounced).to eq(true)
@ -99,7 +99,7 @@ describe WebhooksController do
}]
}, format: :json
expect(response).to be_success
expect(response).to be_successful
email_log.reload
expect(email_log.bounced).to eq(true)
@ -128,7 +128,7 @@ describe WebhooksController do
}]
}, format: :json
expect(response).to be_success
expect(response).to be_successful
email_log.reload
expect(email_log.bounced).to eq(true)