spec/stub/keychain.rb in keylime-0.2.1 vs spec/stub/keychain.rb in keylime-0.3.0
- old
+ new
@@ -48,10 +48,10 @@
params.all? { |k, v| hash[k] == v }
end
end
def create(params)
- struct = OpenStruct.new(params)
+ struct = OpenStruct.new(params) # rubocop:disable Style/OpenStructUse
struct.keychain = @keychain
cache << struct
struct
end