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:
parent
c9a171c745
commit
cf78f3e6dd
4 changed files with 42 additions and 8 deletions
14
test/fixtures/user_preferences.yml
vendored
14
test/fixtures/user_preferences.yml
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue