I am trying to test my rails app with rspec but I keep getting this error: “Mysql2::Error: Duplicate entry ‘651656438’ for key ‘PRIMARY'”. It’s weird that the error does not tell which table caused the problem. Things that i’ve tried:
- Check all of my fixture file again but there is no duplication of id
- The id column is in BIGINT type, so it should not exceed the limit yet.