[rspec-users] spec_server errors when reloading fixture replacement pl
Lenart Rudel
lists at ruby-forum.com
Wed Oct 28 17:54:09 EDT 2009
Some plugins (like Thinking Sphinx) preload all the files in the app/
folder. You can see if this is the case by logging spork's output to a
file and see what requested the app/* files to load.
spork -d > spork.log
More details can be found here:
http://upstream-berlin.com/2009/07/27/kickstart-rspec-with-spork
Hope it helps someone! It took me an hour to solve this :)
Zach Powell wrote:
> Ben Johnson wrote:
>> Did anyone ever figure out the factory_girl / machinist issues? I am
>> having the same problems and can figure out how to fix it for the life
>> of me. The first run works fine, then afterwards I get a bunch of these
>> errors:
>>
>> No blueprint for class Venue
>>
>> Any ideas? Thanks!
>
>
> I found that using
>
> load File.expand_path(File.dirname(__FILE__) + "/blueprints.rb")
>
> in the spec_helper.rb
>
> did the trick.
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list