[rspec-users] Nested attributes in fixtures

Mack T. lists at ruby-forum.com
Thu Oct 28 13:25:20 EDT 2010

Figured this out.  Our fixtures outside Rspec are actually being used to
create instances of ActiveRecord models.  AR supports
accepts_nested_attributes_for, but the Rspec fixtures bypass AR and
simply attempt to set database values.

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list