lib/mocktail/value/unsatisfying_call.rb in mocktail-1.2.3 vs lib/mocktail/value/unsatisfying_call.rb in mocktail-2.0.0
- old
+ new
@@ -1,8 +1,7 @@
module Mocktail
- UnsatisfyingCall = Struct.new(
- :call,
- :other_stubbings,
- :backtrace,
- keyword_init: true
- )
+ class UnsatisfyingCall < T::Struct
+ const :call
+ const :other_stubbings
+ const :backtrace
+ end
end