style(rubocop): Style/TrailingCommaInArrayLiteral

This commit is contained in:
Adam Cooke
2024-03-12 11:45:44 +00:00
parent d84152eb5d
commit 4e13577891
13 changed files with 40 additions and 25 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ module SMTPServer
describe "EHLO" do
it "returns the capabilities" do
expect(client.handle("EHLO test.example.com")).to eq ["250-My capabilities are",
"250 AUTH CRAM-MD5 PLAIN LOGIN"]
"250 AUTH CRAM-MD5 PLAIN LOGIN",]
end
context "when TLS is enabled" do
@@ -27,7 +27,7 @@ module SMTPServer
allow(Postal::Config.smtp_server).to receive(:tls_enabled?).and_return(true)
expect(client.handle("EHLO test.example.com")).to eq ["250-My capabilities are",
"250-STARTTLS",
"250 AUTH CRAM-MD5 PLAIN LOGIN"]
"250 AUTH CRAM-MD5 PLAIN LOGIN",]
end
end
end