Sha256: 8ebdcfb9b234c7f3fa0662d383290355f35b0cc9a7fa4674091222372e11439a
Contents?: true
Size: 355 Bytes
Versions: 3
Compression:
Stored size: 355 Bytes
Contents
require 'spec_helper' describe LiveQA::Batch do describe '.create' do let(:response) { double('LiveQA::Request', body: "{\"object\":\"batch\",\"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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
liveqa-1.9.6 | spec/lib/liveqa/batch_spec.rb |
liveqa-1.9.5 | spec/lib/liveqa/batch_spec.rb |
liveqa-1.9.4 | spec/lib/liveqa/batch_spec.rb |