FIX: Make `user_id` uniqueness check pending. It still seems to check

but the test fails. cc @SamSaffron
This commit is contained in:
Robin Ward 2014-11-20 13:42:37 -05:00
parent 82a6e3aedc
commit 5f4e4de02a
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ describe ApiKey do
it { should validate_presence_of :key }
it 'validates uniqueness of user_id' do
pending 'validates uniqueness of user_id' do
Fabricate(:api_key)
should validate_uniqueness_of(:user_id)
end