Pat Maddox wrote: > Daniel Higginbotham <[EMAIL PROTECTED]> writes: > >>> ActiveRecord::Schema.verbose = false >>> { :name => "blah", :id => 1 }, >> >> end >> end >> >> Are you similarly able to load your YAML fixtures from spec/fixtures >> when you're running a Cucumber feature? >> >> Thanks, >> Daniel Higginbotham > > I don't know that it's built into Cucumber, but loading fixtures is > pretty simple from what I remember. Something like > AR::Fixtures.load('path/to/file.yml') or something. Look around and I'm > sure you can find the couple lines to make it work. > > Pat
Thanks Pat! It looks like Fixtures.create_fixtures("spec/fixtures", "users") works. -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users