[rspec-devel] Rspec blowing away my initial data
Maurício Linhares
mauricio.linhares at gmail.com
Fri Jun 6 16:51:08 EDT 2008
Or create the fixtures file and load them in the migration and in
rspec -> http://blog.zmok.net/articles/2007/05/29/loading-data-in-migrations
On Fri, Jun 6, 2008 at 5:49 PM, Bryan Ray <bryansray at gmail.com> wrote:
> Just copy the code out of the migration and in to a before block?
>
> Could probably just generate a YAML file using to_yaml as well ... should be
> fairly simple. Then just drop it in your spec/fixtures
>
--
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en)
João Pessoa, PB, +55 83 8867-7208
More information about the rspec-devel
mailing list