Sha256: 71845a69ab245d87f512724d9bd1030ccea78f4c1cf1f85fc55ee1c6d0fe867f

Contents?: true

Size: 877 Bytes

Versions: 11

Compression:

Stored size: 877 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

11 entries across 11 versions & 1 rubygems

Version Path
fat_free_crm-0.13.6 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.13.5 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.13.4 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.13.3 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.13.2 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.12.3 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.12.2 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.13.1 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.12.1 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.13.0 spec/models/entities/account_contact_spec.rb
fat_free_crm-0.12.0 spec/models/entities/account_contact_spec.rb