Posts by Filipe • 61 points
2 posts
-
2
votes1
answer223
viewsA: Error running continuous integration test - Travis-CI
Though you set the Factory, looking for your spec I don’t think you’re creating the object before the test. Is it possible that your test failed Travisci simply because the tests ran in a different…
-
1
votes1
answer419
viewsA: Ruby on Rails: Rake aborted!
As @Luizpicolo said, the key uniqueness is only valid in Activerecord validators. The correct key for this case is unique: add_index :users, :email, :unique => true A correct use of uniqueness…