Sha256: db4f264c22a701b25841f6886d63be4b6774c402f7a532835e560fedbd9ccd64

Contents?: true

Size: 456 Bytes

Versions: 4

Compression:

Stored size: 456 Bytes

Contents

require 'spec_helper'

describe CommonwealthInstitutionsSearchBuilder do

  class CommonwealthInstitutionsSearchBuilderTestClass < CommonwealthInstitutionsSearchBuilder
  end

  before { @obj = CommonwealthInstitutionsSearchBuilderTestClass.new(CatalogController.new) }

  describe 'processor chain' do

    it 'should add the right methods to the processor chain' do
      expect(@obj.processor_chain).to include(:institutions_filter)
    end

  end


end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
commonwealth-vlr-engine-0.0.7 spec/lib/commonwealth-vlr-engine/search_builder/institutions_search_builder_spec.rb
commonwealth-vlr-engine-0.0.4 spec/lib/commonwealth-vlr-engine/search_builder/institutions_search_builder_spec.rb
commonwealth-vlr-engine-0.0.3 spec/lib/commonwealth-vlr-engine/search_builder/institutions_search_builder_spec.rb
commonwealth-vlr-engine-0.0.2 spec/lib/commonwealth-vlr-engine/search_builder/institutions_search_builder_spec.rb