Yoann-Z
2009-Jun-24 01:13 UTC
[rspec-users] undefined method `blueprint'' with rspec/machinist/faker
Hi, I just started using Machinist for my project. So I successfully installed notahat-machinist and faker gems and as soon as I run a spec I get the following error : /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ base.rb:1964:in `method_missing'': undefined method `blueprint'' for #<Class:0xb7a23a98> (NoMethodError) Can you help me please? Thank you by advance. -Yoann-Z
Yoann-Z
2009-Jun-24 17:35 UTC
[rspec-users] undefined method `blueprint'' with rspec/machinist/faker
Hi, Thank you for your reply. I found the answer elsewhere this morning. I had to require Machinist and Sham in the file blueprints.rb : require ''machinist/active_record'' require ''sham'' It works fine right now. Thank you very much -Yoann-Z