Martin Streicher wrote in post #1066742:
> before(:all) seems well-suited to this problem. It creates data that
> persists across transactions.
>
> https://www.relishapp.com/rspec/rspec-rails/docs/transactions
Thank you but (after much googling) I discovered that one cannot load
fixtures in before(:all).
At this point, I'm really about to give up on rspec and just do it in
plain ruby.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.
No comments:
Post a Comment