mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:31:10 +08:00
models with rspec3 syntax
This commit is contained in:
@ -8,7 +8,7 @@ describe ApiKey do
|
||||
|
||||
it { is_expected.to validate_presence_of :key }
|
||||
|
||||
pending 'validates uniqueness of user_id' do
|
||||
skip 'validates uniqueness of user_id' do
|
||||
Fabricate(:api_key)
|
||||
is_expected.to validate_uniqueness_of(:user_id)
|
||||
end
|
||||
|
Reference in New Issue
Block a user