title: Can't get rails tests to even run, UNIQUE constraint failed: reviews.id:
body: <p>I'm beginning to look at testing a Rails app I've been working on and can't seem to get the default generated tests to even run. I think it has something to do with rails generating unique ids for fixtures. </p>
  
  <p>The test I'm running is simply this: 
  rails test test/controllers/pages_controller_test</p>
  
  <p>Full error message: 
  Error:
  PagesControllerTest#test_should_get_home:
  ActiveRecord::RecordNotUnique: SQLite3::ConstraintException: UNIQUE constraint failed: reviews.id: INSERT INTO "reviews" ("created_at", "updated_at", "id") VALUES ('2018-03-26 21:55:24.345073', '2018-03-26 21:55:24.345073', 980190962)</p>
  
  <p>test/controllers/pages_controller_test</p>
  
  <pre><code>require 'test_helper'
  
  class PagesControllerTest &lt; ActionDispatch::IntegrationTest
    test "should get home" do
      get pages_home_url
      assert_response :success
    end
  
  end
  </code></pre>
  
  <p>This is what reviews.yml looks like:</p>
  
  <pre><code># Read about fixtures at 
  http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
  
  one:
    comment: MyText
    star: 1
    reservation_id: one
    tourist_id: one
    guide_id: one
    type:
  
  two:
    comment: MyText
    star: 1
    reservation_id: two
    tourist_id: two
    guide_id: two
    type:
  </code></pre>