Sha256: 6f268d72e94c7bdd53a8fe7cb25c6013bacb8ebb2c063e3cf9d839ac8e4e821d
Contents?: true
Size: 922 Bytes
Versions: 11
Compression:
Stored size: 922 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_opportunities # # id :integer not null, primary key # account_id :integer # opportunity_id :integer # deleted_at :datetime # created_at :datetime # updated_at :datetime # require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') describe AccountOpportunity do before(:each) do @valid_attributes = { :account => mock_model(Account), :opportunity => mock_model(Opportunity) } end it "should create a new instance given valid attributes" do AccountOpportunity.create!(@valid_attributes) end end
Version data entries
11 entries across 11 versions & 1 rubygems