On Sun, Aug 8, 2010 at 7:11 AM, Ashley Moran <[email protected]> wrote: > I just double checked, and spec_helper.rb isn't considered an RSpec file - > and actually, I don't think it should be. Also, I have a spec/support folder > in most projects, with matchers etc. They aren't RSpec files either. So > this route would probably give a lot of false positives.
Textmate only looks at the first line for patterns in a language definition, typically that's used to find the shebang line. I think we want Textmate to use the Ruby language grammar for rspec files for indentation, delimiter matching etc. and the cost of having a separate language definition in the RSpec bundle in terms of confusion and or maintenance probably isn't worth it. For more about how textmate detects file times see: http://blog.macromates.com/2007/file-type-detection-rspec-rails/ -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
