diff --git a/spec/lib/rspec/sorbet_spec.rb b/spec/lib/rspec/sorbet_spec.rb index 99b3dc0..ba4b019 100644 --- a/spec/lib/rspec/sorbet_spec.rb +++ b/spec/lib/rspec/sorbet_spec.rb @@ -150,7 +150,7 @@ def initialize(message) end specify do - # Error is not rasied becasue handler is no-op + # Checking to ensure the invalid calls rasies the error in the custom handler expect { PassthroughSig.new(123) }.to raise_error ArgumentError, 'foo' end