Sha256: 291b4ad749921176b87fba454a20440d8644089cb02e1c79900e6e89dd1b7684

Contents?: true

Size: 462 Bytes

Versions: 2

Compression:

Stored size: 462 Bytes

Contents

require 'spec_helper'

describe CustomerHasCustomers do
  
  before do
    @customer_has_customers = CustomerHasCustomers.new from: Factory(:customer_pj).customer,
                                                       to:   Factory(:customer_pj).customer
    
  end
  
  subject { @customer_has_customers }
  
  it { should respond_to(:from) }
  it { should respond_to(:to) }
  its(:from) { should  be_a(Customer) }
  its(:to) { should  be_a(Customer) }
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guara-0.0.3 spec/models/customer_has_customers_spec.rb
guara-0.0.1.rc spec/models/customer_has_customers_spec.rb