Closed pivotal-chorus closed 11 years ago
Gregg - I would try to extend the tests, though. Currently, they won't catch what you are fixing because formatter is set up as a mock without any parameter expectations for the format_backtrace method here:
@formatter = mock "formatter"
@formatter.should_receive(:format_backtrace).and_return("backtrace")
If instead, we defined a stronger expectations on should_receive (it would also require to set up an expectation for example.metadata), we would be testing the right thing.
+1
I'm seeing the same issue here.
+1, same issue here, fixed by the pull request
It seems that this change adapted to a regression in RSpec 2.12.0 which has been fixed in 2.12.1 see https://github.com/rspec/rspec-core/commit/f06254c00770387e3a8a2efbdbc973035c217f6a
So now the opposite error occurs, see also #80.
Could you revert the change again?
+1 - please accept this! Without this fix, spec failures result in an exception and the rest of the specs don't get a chance to run