Sha256: c4e496ed6fdf3e47c386438c3f9cb469ac70289c14cd460470f1876f0a0d2e68
Contents?: true
Size: 607 Bytes
Versions: 1
Compression:
Stored size: 607 Bytes
Contents
require "spec_helper" describe Databox::Pipeline do before do Databox.configure do |c| c.token = "218oxlmk3ikkogo0" c.key = "3s70rekrhcmcgkccssckc448kgw04ssk" end end 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
databox-0.0.3 | spec/databox/pipeline_spec.rb |