Sha256: b495ce5854d6aaa2c76c86ad34227d6480345ea2e6b5624609cdc40da982e0fa

Contents?: true

Size: 441 Bytes

Versions: 2

Compression:

Stored size: 441 Bytes

Contents

describe ::PPC::Baidu::Bulk do
  subject{::PPC::Baidu::Bulk.new(
            debug:true,
            username:'',
            password:'',
            token:'')
          }
  it "could get file_id_of_all" do
    begin
      result = subject.file_id_of_all
    rescue
      expect(subject.code).to eq '901162'
    end

    if result.nil?
      expect(subject.code).to eq '901162'
    else
      expect(result.size).to eq 32
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ppc-1.3.0 spec/baidu_bulk_spec.rb
ppc-1.0.3 spec/bulk_spec.rb