Sha256: 552f9eeccc589449dc44d1fd8a26bc9f1efd8bd25eced94bf53eebef71d685ae

Contents?: true

Size: 355 Bytes

Versions: 4

Compression:

Stored size: 355 Bytes

Contents

require 'spec_helper'

describe LiveQA::Batch do

  describe '.create' do
    let(:response) { double('LiveQA::Request', body:  "{\"object\":\"event\",\"id\":41}") }
    before { allow(LiveQA::Request).to receive(:execute).and_return(response) }

    subject(:create) { LiveQA::Batch.create(data: []) }

    it { is_expected.to be_successful }
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
liveqa-1.9.3 spec/lib/liveqa/batch_spec.rb
liveqa-1.9.2 spec/lib/liveqa/batch_spec.rb
liveqa-1.9.1 spec/lib/liveqa/batch_spec.rb
liveqa-1.9.0 spec/lib/liveqa/batch_spec.rb