I have this unit test:
test "User validations" do
user = User.new
When I run it I have this error:
null value in column "uid" violates not-null constraint: INSERT INTO
"users" ("created_at", "updated_at", "id") VALUES ('2012-11-18
19:37:39', '2012-11-18 19:37:39', 298486374).
In the fixture user I've put:
Why the unit test got the error?
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.