examples/lib/micronaut/formatters/base_formatter_example.rb in spicycode-micronaut-0.1.5.2 vs examples/lib/micronaut/formatters/base_formatter_example.rb in spicycode-micronaut-0.1.6
- old
+ new
@@ -106,13 +106,13 @@
describe 'dealing with backtrace' do
it "should ensure ':' in the first backtrace" do
backtrace = ["/tmp/x.rb:1", "/tmp/x.rb:2", "/tmp/x.rb:3"]
- @formatter.format_backtrace(backtrace).should == backtrace
+ @formatter.format_backtrace(backtrace, running_example).should == backtrace
backtrace = ["/tmp/x.rb:1: message", "/tmp/x.rb:2", "/tmp/x.rb:3"]
- @formatter.format_backtrace(backtrace).first.should == "/tmp/x.rb:1: message"
+ @formatter.format_backtrace(backtrace, running_example).first.should == "/tmp/x.rb:1: message"
end
end
end
\ No newline at end of file