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.0.0pre2 spec/lib/indexers/serial_spec.rb
picky-4.0.0pre1 spec/lib/indexers/serial_spec.rb
picky-3.6.16 spec/lib/indexers/serial_spec.rb
picky-3.6.15 spec/lib/indexers/serial_spec.rb
picky-3.6.14 spec/lib/indexers/serial_spec.rb
picky-3.6.13 spec/lib/indexers/serial_spec.rb
picky-3.6.12 spec/lib/indexers/serial_spec.rb
picky-3.6.11 spec/lib/indexers/serial_spec.rb
picky-3.6.10 spec/lib/indexers/serial_spec.rb
picky-3.6.9 spec/lib/indexers/serial_spec.rb
picky-3.6.8 spec/lib/indexers/serial_spec.rb
picky-3.6.7 spec/lib/indexers/serial_spec.rb
picky-3.6.6 spec/lib/indexers/serial_spec.rb
picky-3.6.4 spec/lib/indexers/serial_spec.rb
picky-3.6.3 spec/lib/indexers/serial_spec.rb
picky-3.6.2 spec/lib/indexers/serial_spec.rb
picky-3.6.1 spec/lib/indexers/serial_spec.rb
picky-3.6.0 spec/lib/indexers/serial_spec.rb
picky-3.5.4 spec/lib/indexers/serial_spec.rb
picky-3.5.3 spec/lib/indexers/serial_spec.rb