Sha256: c5f7c8e9e197aea2ace04c627a184107c01176c1398e69c73b84cf65264df6ed
Contents?: true
Size: 488 Bytes
Versions: 3
Compression:
Stored size: 488 Bytes
Contents
#encoding: utf-8 require "spec_helper" describe "Bulk Insert", type: :integration do let!(:result) { insert_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/insert_spec.rb |
bulkforce-1.0.1 | spec/integration/insert_spec.rb |
bulkforce-1.0.0 | spec/integration/insert_spec.rb |