[rspec-users] spec_server errors when reloading fixture replacement pl

Zach Powell lists at ruby-forum.com
Wed Jun 10 22:50:09 EDT 2009

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