Can now run tests that use composite_primary_keys in the fixtures. Adding a new test...
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Tue, 15 Jul 2008 15:51:45 +0000 (15:51 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Tue, 15 Jul 2008 15:51:45 +0000 (15:51 +0000)
commitcf78f3e6ddbd1c148e91de6500266240bfa24825
treeea5c2cb2a703631bde003902db19935fad948fee
parentc9a171c74581e0eb80794e2c9ed92e1b8faffa42
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.
test/fixtures/user_preferences.yml
test/test_helper.rb
test/unit/user_preference_test.rb
test/unit/user_test.rb