Sha256: d780bd70195c2ce90be4981da94018f81b7cc31d6d44b5be62c6fa34051a0b53

Contents?: true

Size: 465 Bytes

Versions: 3

Compression:

Stored size: 465 Bytes

Contents

require "spec_helper"

describe Databox::Pipeline do

  let(:pipeline){ Databox::Pipeline.new "pipe_visits" }

  context "simple" do
    before {
      stub_request(:post, /push/)
      .to_return { request_from "multiple_message" }
    }

    before do
      pipeline.add "Step I.",   2000
      pipeline.add "Step II.",  1600
      pipeline.add "Step III.", 999
      pipeline.add "Step IV.",  100
    end

    it { expect(pipeline.save).to be_true }

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
databox-0.1.2 spec/databox/pipeline_spec.rb
databox-0.1.1 spec/databox/pipeline_spec.rb
databox-0.1.0 spec/databox/pipeline_spec.rb