It’s nice to have so much information about failing specs when using RSpec for testing my Rails3 app, but it would be even nicer to have them clickable:
2) Project
Failure/Error: create(:project) # Needed for validate_presence_of
ActiveRecord::RecordInvalid:
Validation failed: Name has already been taken
# ./spec/models/project_spec.rb:6:in `block (2 levels) in <top (required)>'
So when clicking on ./spec/models/project_spec.rb:6 this would open the file in TextMate and jump to line 6. Is there any way to accomplish this?
Not sure if it’s still relevant, but I’ve written a gem exactly for that. Works with textmate and sublime (requires additional software for the latter)
https://github.com/tadast/rspec_clickable_output