Sha256: 807df5e176fc8365be09f3fb6cd396b5b6c701e692da32b7709893ba06a2c728
Contents?: true
Size: 417 Bytes
Versions: 3
Compression:
Stored size: 417 Bytes
Contents
require "spec_helper" describe Databox::LineChart do let(:chart){ Databox::LineChart.new "my_line" } context "simple" do before { stub_request(:post, /push/) .to_return { request_from "line_chart_simple" } } before do chart.add 2000, "2014-01-29" chart.add 1600, "2014-02-01" chart.add 999, "2014-02-03" end it { expect(chart.save).to be_true } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
databox-0.1.2 | spec/databox/line_chart_spec.rb |
databox-0.1.1 | spec/databox/line_chart_spec.rb |
databox-0.1.0 | spec/databox/line_chart_spec.rb |