Sha256: 18f0838c9dae1eeff2b576a4b50055512100916b1816230e9a4d299ab9d0d8d9

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 Bytes

Contents

require 'spec_helper'

describe TimeSeries do
  module TimeSeriesTestProcessor
  end

  it { should respond_to(:use) }
  it { should respond_to(:processor) }
  it { expect(subject.processor).to be nil }
  it { expect(subject.use(TimeSeriesTestProcessor)).to eql subject }

  context 'when using a processor' do
    subject { TimeSeries.new.use(TimeSeriesTestProcessor) }
    it { expect(subject.processor).to eql TimeSeriesTestProcessor }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
time_series_math-0.1.1 spec/time_series_math/time_series_use_api_spec.rb