diff --git a/activemodel/test/models/pilot.rb b/activemodel/test/models/pilot.rb index 8570cee3f5ff0..a6af6a74cbd00 100644 --- a/activemodel/test/models/pilot.rb +++ b/activemodel/test/models/pilot.rb @@ -4,7 +4,7 @@ class Pilot include ActiveModel::Attributes include ActiveModel::SecurePassword - def self.generates_token_for(purpose, expires_in: nil) + def self.generates_token_for(purpose, expires_in: nil, &) @@expires_in = expires_in end