title: With RSpec, how to seed the database on load?
body: <p>I'm using rspec for testing w my rails 3 app. I need to seed the database before the tests start. How can I seed the database with the following:</p>
  
  <p><strong>/db/seeds.rb</strong></p>
  
  <pre><code>["Admin", "Member"].each do |role_name|
    Role.find_or_create_by_name(role_name)
  end
  </code></pre>
  
  <p>Thanks</p>