Sha256: a35f688aa5bc9ac01fce8399111672b4930efcdc3a5fa3e0ea31e8be69b6bede

Contents?: true

Size: 386 Bytes

Versions: 3

Compression:

Stored size: 386 Bytes

Contents

require "spec_helper"

describe Databox::Compare do

  let(:compare){ Databox::Compare.new "my_compare" }

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

    before do
      compare.add 2000, "2014-01-25"
      compare.add 1600, "2014-01-26"
    end

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

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

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