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-4.12.6 spec/lib/indexers/serial_spec.rb
picky-4.12.5 spec/lib/indexers/serial_spec.rb
picky-4.12.4 spec/lib/indexers/serial_spec.rb
picky-4.12.3 spec/lib/indexers/serial_spec.rb
picky-4.12.2 spec/lib/indexers/serial_spec.rb
picky-4.12.1 spec/lib/indexers/serial_spec.rb
picky-4.12.0 spec/lib/indexers/serial_spec.rb
picky-4.11.3 spec/lib/indexers/serial_spec.rb
picky-4.11.2 spec/lib/indexers/serial_spec.rb
picky-4.11.1 spec/lib/indexers/serial_spec.rb
picky-4.11.0 spec/lib/indexers/serial_spec.rb
picky-4.10.0 spec/lib/indexers/serial_spec.rb
picky-4.9.0 spec/lib/indexers/serial_spec.rb
picky-4.8.1 spec/lib/indexers/serial_spec.rb
picky-4.8.0 spec/lib/indexers/serial_spec.rb
picky-4.7.0 spec/lib/indexers/serial_spec.rb
picky-4.6.6 spec/lib/indexers/serial_spec.rb
picky-4.6.5 spec/lib/indexers/serial_spec.rb
picky-4.6.4 spec/lib/indexers/serial_spec.rb
picky-4.6.3 spec/lib/indexers/serial_spec.rb