Sha256: a9f4f960229332d18663e3c15460320210c84a4a23a714a7419395819f54effa

Contents?: true

Size: 870 Bytes

Versions: 15

Compression:

Stored size: 870 Bytes

Contents

# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
# == Schema Information
#
# Table name: account_contacts
#
#  id         :integer         not null, primary key
#  account_id :integer
#  contact_id :integer
#  deleted_at :datetime
#  created_at :datetime
#  updated_at :datetime
#

require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')

describe AccountContact do
  before(:each) do
    @valid_attributes = {
      account: mock_model(Account),
      contact: mock_model(Contact)
    }
  end

  it "should create a new instance given valid attributes" do
    AccountContact.create!(@valid_attributes)
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.15.2 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.16.4 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.14.1 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.15.1 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.16.3 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.16.2 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.16.1 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.16.0 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.15.0 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.15.0.beta.2 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.15.0.beta spec/models/entities/account_contact_spec.rb
fat_free_crm-0.14.0 spec/models/entities/account_contact_spec.rb
reduced_fat_crm-0.15.0.beta spec/models/entities/account_contact_spec.rb
reduced_fat_crm-0.14.0 spec/models/entities/account_contact_spec.rb