Sha256: e9875dfd31dfab4d316c116b328205a1771558c9c0b55ac15c70ff71cd501e6e

Contents?: true

Size: 300 Bytes

Versions: 12

Compression:

Stored size: 300 Bytes

Contents

require 'rails_helper'

module CustomerVault
  RSpec.describe Link, :type => :model do
    it 'should have a valid factory' do 
      link = FactoryGirl.build(:customer_vault_link)
      expect(link).to be_valid
    end

    it { should belong_to :alice}
    it { should belong_to :bob}   
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
customer_vault-1.2.5 spec/models/customer_vault/link_spec.rb
customer_vault-1.2.4 spec/models/customer_vault/link_spec.rb
customer_vault-1.2.3 spec/models/customer_vault/link_spec.rb
customer_vault-1.2.2 spec/models/customer_vault/link_spec.rb
customer_vault-1.2.1 spec/models/customer_vault/link_spec.rb
customer_vault-1.2.0 spec/models/customer_vault/link_spec.rb
customer_vault-1.1.0 spec/models/customer_vault/link_spec.rb
customer_vault-1.0.4 spec/models/customer_vault/link_spec.rb
customer_vault-1.0.3 spec/models/customer_vault/link_spec.rb
customer_vault-1.0.2 spec/models/customer_vault/link_spec.rb
customer_vault-1.0.1 spec/models/customer_vault/link_spec.rb
customer_vault-1.0.0 spec/models/customer_vault/link_spec.rb