Sha256: 956b413431f0f4493db9968ffcf07138e34d912e04dba48b610ef5d37970831b

Contents?: true

Size: 341 Bytes

Versions: 2

Compression:

Stored size: 341 Bytes

Contents

require 'spec_helper'

describe FluQ::Runner do

  after { subject.terminate }

  its(:feeds)   { should == [] }
  its(:inspect) { should == "#<FluQ::Runner feeds: []>" }

  it "should register feeds" do
    subject.feed("my-feed")
    subject.should have(1).feeds

    subject.feed("other-feed")
    subject.should have(2).feeds
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fluq-0.8.1 spec/fluq/runner_spec.rb
fluq-0.8.0 spec/fluq/runner_spec.rb