Fix warning expectation for RBX

This commit is contained in:
Markus Schirp 2014-07-06 21:56:34 +00:00
parent c4f76edd37
commit 3a5acc6ea1

View file

@ -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