Sha256: eecf7f63315650bdb9bcbce0fb430f92f5692fa04d1a30e254c0178ed3d6e8f7
Contents?: true
Size: 421 Bytes
Versions: 4
Compression:
Stored size: 421 Bytes
Contents
require 'spec_helper' describe Devise::Oauth2::Client do it { Devise::Oauth2::Client.table_name.should == 'oauth2_clients' } describe 'basic client instance' do with :client subject { client } it { should validate_uniqueness_of :identifier } it { should have_db_index(:identifier).unique(true) } it { should have_many :refresh_tokens } it { should have_many :authorization_codes } end end
Version data entries
4 entries across 4 versions & 1 rubygems