Sha256: b071198e0ef311afd9d4b700bf6f5d4fb9e10817c0c0fda51cd6f120a41d60ca

Contents?: true

Size: 354 Bytes

Versions: 80

Compression:

Stored size: 354 Bytes

Contents

require 'spec_helper'

describe Maestrano::Connector::Rails::IdMap do

  # Indexes
  it { should have_db_index([:connec_id, :connec_entity, :organization_id]) }
  it { should have_db_index([:external_id, :external_entity, :organization_id]) }
  it { should have_db_index([:organization_id]) }

  #Associations
  it { should belong_to(:organization) }
end

Version data entries

80 entries across 80 versions & 1 rubygems

Version Path
maestrano-connector-rails-2.0.2.pre.RC6 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.2.pre.RC5 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.2.pre.RC4 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.2.pre.RC3 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.2.pre.RC2 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.2.pre.RC1 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.1 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.0 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.0.pre.RC13 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.0.pre.RC12 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.0.pre.RC11 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.0.pre.RC10 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.0.pre.RC9 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.0.pre.RC8 spec/models/id_map_spec.rb
maestrano-connector-rails-1.5.0 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.0.pre.RC7 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.0.pre.RC6 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.0.pre.RC5 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.0.pre.RC4 spec/models/id_map_spec.rb
maestrano-connector-rails-2.0.0.pre.RC3 spec/models/id_map_spec.rb