[rspec-devel] [ rspec-Bugs-13829 ] TextMate bundle does not map classes in /lib in a rails app to /spec/lib

noreply at rubyforge.org noreply at rubyforge.org
Mon Sep 10 22:56:39 EDT 2007


Bugs item #13829, was opened at 2007-09-11 02:56
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=13829&group_id=797

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: David Chelimsky (dchelimsky)
Assigned to: Nobody (None)
Summary: TextMate bundle does not map classes in /lib in a rails app to /spec/lib

Initial Comment:
In non-rails apps, the TextMate bundle maps files in /lib to files in /spec. 

Because Rails doesn't put lib under /app (it puts it in the project root), the TextMate bundle expects the specs for classes in /lib to be directly under /spec. RSpec users, however, like to put specs for classes in /lib in /spec/lib. So we need to make the mapping smarter so it knows if it's in a Rails app, and if so correctly maps /lib to /spec/lib.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=13829&group_id=797


More information about the rspec-devel mailing list