mirror of
https://github.com/discourse/discourse.git
synced 2025-03-05 05:06:25 +08:00
DEV: Apply rubocop (#8926)
This commit is contained in:
parent
daaa0a657f
commit
6a7e82c44c
@ -144,9 +144,9 @@ describe WebhooksController do
|
||||
email_log = Fabricate(:email_log, user: user, message_id: message_id, to_address: email)
|
||||
|
||||
post "/webhooks/postmark.json", params: {
|
||||
"Type"=> "HardBounce",
|
||||
"MessageID"=> message_id,
|
||||
"Email"=> email
|
||||
"Type" => "HardBounce",
|
||||
"MessageID" => message_id,
|
||||
"Email" => email
|
||||
}
|
||||
expect(response.status).to eq(200)
|
||||
|
||||
@ -159,9 +159,9 @@ describe WebhooksController do
|
||||
email_log = Fabricate(:email_log, user: user, message_id: message_id, to_address: email)
|
||||
|
||||
post "/webhooks/postmark.json", params: {
|
||||
"Type"=> "SoftBounce",
|
||||
"MessageID"=> message_id,
|
||||
"Email"=> email
|
||||
"Type" => "SoftBounce",
|
||||
"MessageID" => message_id,
|
||||
"Email" => email
|
||||
}
|
||||
expect(response.status).to eq(200)
|
||||
|
||||
@ -171,7 +171,6 @@ describe WebhooksController do
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
context "sparkpost" do
|
||||
it "works" do
|
||||
user = Fabricate(:user, email: email)
|
||||
|
Loading…
x
Reference in New Issue
Block a user