Sha256: f533f0c5aa45ea75f62686dbb6ab24e3d60fed04744e7637ab06834a07cd723a

Contents?: true

Size: 608 Bytes

Versions: 6

Compression:

Stored size: 608 Bytes

Contents

require 'spec_helper'

describe NetSuite::Records::PhoneCall do
  let(:phone_call) { NetSuite::Records::PhoneCall.new }

  it "has the right fields" do
    [:title, :message, :phone, :status, :priority, :start_date, :end_date, :completed_date, :timed_event, :access_level].each do |f|
      phone_call.should have_field(f)
    end
  end

  it 'has the right record refs' do
    [:assigned, :owner, :company, :contact].each do |rr|
      phone_call.should have_record_ref(rr)
    end
  end

  describe 'to_record' do
    it 'should be verified with our params' do
      fail 'Not Verified.'
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
netsuite-0.2.5 spec/netsuite/records/phone_call_spec.rb
netsuite-0.2.4 spec/netsuite/records/phone_call_spec.rb
netsuite-0.2.3 spec/netsuite/records/phone_call_spec.rb
netsuite-0.2.2 spec/netsuite/records/phone_call_spec.rb
netsuite-0.2.1 spec/netsuite/records/phone_call_spec.rb
netsuite-0.2.0 spec/netsuite/records/phone_call_spec.rb