Sha256: afd3e25850db1a0e2ff2b8247ad16d202d5a8b007b0ea1a2358bb1b9fe776429

Contents?: true

Size: 530 Bytes

Versions: 30

Compression:

Stored size: 530 Bytes

Contents

require 'spec_helper'

describe Picky::Indexers::Serial do

  before(:each) do
    @tokenizer = double :tokenizer
    @source  = double :source
    @category  = double :category,
                      :identifier => :some_identifier,
                      :tokenizer => @tokenizer,
                      :source => @source

    @indexer = described_class.new @category
    @indexer.stub :timed_exclaim
  end

  describe "source" do
    it "returns the one given to is" do
      @indexer.source.should == @source
    end
  end

end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
picky-4.31.3 spec/lib/indexers/serial_spec.rb
picky-4.31.2 spec/lib/indexers/serial_spec.rb
picky-4.31.1 spec/lib/indexers/serial_spec.rb
picky-4.31.0 spec/lib/indexers/serial_spec.rb
picky-4.30.0 spec/lib/indexers/serial_spec.rb
picky-4.29.0 spec/lib/indexers/serial_spec.rb
picky-4.28.1 spec/lib/indexers/serial_spec.rb
picky-4.27.1 spec/lib/indexers/serial_spec.rb
picky-4.27.0 spec/lib/indexers/serial_spec.rb
picky-4.26.2 spec/lib/indexers/serial_spec.rb
picky-4.26.1 spec/lib/indexers/serial_spec.rb
picky-4.26.0 spec/lib/indexers/serial_spec.rb
picky-4.25.3 spec/lib/indexers/serial_spec.rb
picky-4.25.2 spec/lib/indexers/serial_spec.rb
picky-4.25.1 spec/lib/indexers/serial_spec.rb
picky-4.25.0 spec/lib/indexers/serial_spec.rb
picky-4.24.0 spec/lib/indexers/serial_spec.rb
picky-4.23.2 spec/lib/indexers/serial_spec.rb
picky-4.23.1 spec/lib/indexers/serial_spec.rb
picky-4.23.0 spec/lib/indexers/serial_spec.rb