Sha256: 51054d62126494f34966d3b23ef366e1d0ef95574d51cd5141eceb525322af88

Contents?: true

Size: 296 Bytes

Versions: 31

Compression:

Stored size: 296 Bytes

Contents

require 'spec_helper'

describe Maestrano::Connector::Rails::UserOrganizationRel do

  # Attributes

  # Indexes
  it { should have_db_index(:user_id) }
  it { should have_db_index(:organization_id) }

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

Version data entries

31 entries across 31 versions & 1 rubygems

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