[rspec-users] TextMate Bundle and exception when switching to alternate file.

Scott Taylor mailing_lists at railsnewbie.com
Fri Sep 21 17:44:17 EDT 2007

>> sorry if this is something better suited to another list.
>> I've encountered a strange problem with the RSpec.tmbundle in trunk -
>> namely that it was raising an exception when pressing
>> ctrl-shift-downarrow (switch between spec and source - "Alternate
>> File").
>> I tracked down the issue to be handling of the file_type in
>> switch_command.rb#content_for() - the code expected the type  
>> string to
>> be just 'spec' when it can be 'view spec' or 'model spec' etc.
>> Unfortunately I don't know whether this is just an issue with my  
>> local
>> textmate install or if it is, in fact, a bug.

Nope - it's a bug.  I've experienced the same thing too.


More information about the rspec-users mailing list