Sha256: 8b8f14b0f439c8252a047a48aef8c07ae9ebd8559d54e6b79b7063aa9721045d

Contents?: true

Size: 324 Bytes

Versions: 15

Compression:

Stored size: 324 Bytes

Contents

FactoryGirl.define do
  factory :task, class: BaseCRM::Task do

    content { "Contact Tom" }
    due_date { "2014-09-27T16:32:56+00:00" }
    remind_at { "2014-09-29T15:32:56+00:00" }

    resource_id  { contact.id }
    resource_type { :contact }

    to_create do |task|
      client.tasks.create(task)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
basecrm-1.3.5 spec/factories/task.rb
basecrm-1.3.4 spec/factories/task.rb
basecrm-1.3.3 spec/factories/task.rb
basecrm-1.3.2 spec/factories/task.rb
basecrm-1.3.1 spec/factories/task.rb
basecrm-1.3.0 spec/factories/task.rb
basecrm-1.2.3 spec/factories/task.rb
basecrm-1.2.2 spec/factories/task.rb
basecrm-1.2.1 spec/factories/task.rb
basecrm-1.2.0 spec/factories/task.rb
basecrm-1.1.3 spec/factories/task.rb
basecrm-1.1.2 spec/factories/task.rb
basecrm-1.1.1 spec/factories/task.rb
basecrm-1.1.0 spec/factories/task.rb
basecrm-1.0.0 spec/factories/task.rb