Sha256: fe9c2ad02d27ef4936e5b4f35582c879ce83611ea78fb01ea58972ce3d644d81

Contents?: true

Size: 1.16 KB

Versions: 11

Compression:

Stored size: 1.16 KB

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: emails
#
#  id              :integer         not null, primary key
#  imap_message_id :string(255)     not null
#  user_id         :integer
#  mediator_id     :integer
#  mediator_type   :string(255)
#  sent_from       :string(255)     not null
#  sent_to         :string(255)     not null
#  cc              :string(255)
#  bcc             :string(255)
#  subject         :string(255)
#  body            :text
#  header          :text
#  sent_at         :datetime
#  received_at     :datetime
#  deleted_at      :datetime
#  created_at      :datetime
#  updated_at      :datetime
#  state           :string(16)      default("Expanded"), not null
#

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

describe Email do
  before(:each) do
    @email = Email.new
  end

  it "should be valid" do
    @email.should be_valid
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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