Can now run tests that use composite_primary_keys in the fixtures. Adding a new test to check that you can't add duplicate user preferences, and the display name of the user is guaranteed to be unique.

This commit is contained in:
Shaun McDonald 2008-07-15 15:51:45 +00:00
parent c9a171c745
commit cf78f3e6dd
4 changed files with 42 additions and 8 deletions

View file

@ -1,7 +1,11 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
# one:
# column: value
#
# two:
# column: value
a:
user: normal_user
k: "key"
v: "value"
two:
user: normal_user
k: "some_key"
v: "some_value"