[Rspec-devel] TextMate command for RSpec on Rails

Jon Gretar Borgthorsson jon.borgthorsson at gmail.com
Sat Jul 1 22:47:46 EDT 2006


On 7/2/06, Brian Hughes <brianvh at alum.dartmouth.org> wrote:
>
> I think it looks like a great script, as well. I should also mention
> that I've been working on a semi-full rSpec bundle for TextMate, and
> the spec runner script was a big part of what I was missing. I've
> kind of put the project on the shelf, however, because there's
> currently no way for TM to select the language bundle based on a
> portion of the file name that isn't the file extension. So *_spec.rb
> is the same as every other *.rb file, which means you can't have a
> single project with Ruby, Rails and rSpec files in it.

But you should be able to define this using the scope. Right?
I'm at least using a bundle that allows me to switch between the
controller and the model with a key combo. Shouldn't a similar
approach help you?

-- 
--------------
Jon Gretar Borgthorsson
http://www.jongretar.net/


More information about the Rspec-devel mailing list