I'm just starting to implement some tests for my work in progress rails app. I have some dependencies (the main one being devise for user management) which will require me to have a user already registered.
I have these items set up in my db/seeds.rb
file.
I have found some information from this article, this question and this question but they relate to earlier versions of rails.
I created a test_seeds.rake
file as suggested by one of the questions, but it didn't seem to get called when I run
rake tests
so I'm working on the theory that it wasn't just the test folder structure that changed as part of rails 4.
Can anyone provide any rails 4 guidance on how to achieve this?
Thanks Jane