Ok, this is INCREDIBLY finicky of me, and I’m a really finicky person
at the best of times, but I noticed that when you use the TM
Alternate File command to create specs, it does it with a header line
like this:
File.dirname(FILE) + ‘/…/…/…/spec_helper’
I use a header line like this
require File.expand_path(File.join(File.dirname(FILE), *%w
[… … … spec_helper.rb]))
(Think I nicked it from some of David’s code)
Does the former expose you to loading the spec_helper twice under any
circumstances? Just wondered, as I had to check there was nothing
going on in my spec_helper that shouldn’t be run more than once
Ashley
–
blog @ http://aviewfromafar.net/
linked-in @ http://www.linkedin.com/in/ashleymoran
currently @ home