Sha256: 510cce6ca3b33a74123f55bc5f63f86c019344e8e28314ca3bcbf1072a8f4e6f

Contents?: true

Size: 525 Bytes

Versions: 103

Compression:

Stored size: 525 Bytes

Contents

require 'spec_helper'

describe Picky::Indexers::Serial do

  before(:each) do
    @tokenizer = stub :tokenizer
    @source  = stub :source
    @category  = stub :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

103 entries across 103 versions & 1 rubygems

Version Path
picky-3.5.2 spec/lib/indexers/serial_spec.rb
picky-3.5.1 spec/lib/indexers/serial_spec.rb
picky-3.5.0 spec/lib/indexers/serial_spec.rb