[rspec-users] Nested attributes in fixtures

Mack mack.talcott at gmail.com
Mon Oct 11 13:05:16 EDT 2010

I'm unable to get nested attributes in fixtures to work with Rspec.
The models and fixtures function fine outside of rspec, but I get a
mysql error (Unknown column "<nested table>_attributes) when running
tests with the same fixtures.

I am able to get the specs to run by creating a separate fixture for
the nested table.  Shouldn't Rspec handle nested attributes in
fixtures, though?

More information about the rspec-users mailing list