Skip to content

Commit 6bc99b7

Browse files
committed
Add ruby2_keywords
1 parent 5e3eda5 commit 6bc99b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/rspec/rails/configuration_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ def self.application; end
273273
def welcome(to:)
274274
mail(to: to, subject: 'subject', body: render(inline: "Hello", layout: false))
275275
end
276+
ruby2_keywords :welcome if respond_to?(:ruby2_keywords, true)
276277
end
277278
end
278279

0 commit comments

Comments
 (0)