Fix warning expectation for RBX
This commit is contained in:
parent
c4f76edd37
commit
3a5acc6ea1
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ describe Mutant::Matcher::Method::Instance do
|
|||
|
||||
it 'does warn' do
|
||||
subject
|
||||
expect(reporter.warn_calls.last).to eql('#<UnboundMethod: Module(Kernel)#object_id> does not have valid source location unable to emit matcher')
|
||||
expect(reporter.warn_calls.last).to eql("#{method.inspect} does not have valid source location unable to emit matcher")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue