Sha256: d289d38bb7bc750c1489f5235a485519df975cabfae56365d2f675491c96d2f1
Contents?: true
Size: 505 Bytes
Versions: 3
Compression:
Stored size: 505 Bytes
Contents
#encoding: utf-8 require "spec_helper" describe "Bulk Upsert", type: :integration do let!(:result) { upsert_contacts; upsert_contacts } it "returns a Hash" do expect(result).to be_a(Hash) end it "sets state to 'Completed'" do expect(result[:state]).to eq("Completed") end it "sets correct number of records processed" do expect(result[:number_records_processed]).to eq("2") end it "has no failed records" do expect(result[:number_records_failed]).to eq("0") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bulkforce-1.0.2 | spec/integration/upsert_spec.rb |
bulkforce-1.0.1 | spec/integration/upsert_spec.rb |
bulkforce-1.0.0 | spec/integration/upsert_spec.rb |