Sha256: 354b25c92b4b0cdae889d0468cd5445e0bd9af206af6691ff7b93db0f678bb5b

Contents?: true

Size: 533 Bytes

Versions: 125

Compression:

Stored size: 533 Bytes

Contents

require 'rails_helper'

describe <%= model_name.classify %> do
  let(:user_params) { Hash.new }
  let(:blacklight_config) { Blacklight::Configuration.new }
  let(:scope) { double blacklight_config: blacklight_config }
  subject(:search_builder) { described_class.new scope }

  # describe "my custom step" do
  #   subject(:query_parameters) do
  #     search_builder.with(user_params).processed_parameters
  #   end
  #
  #   it "adds my custom data" do
  #     expect(query_parameters).to include :custom_data
  #   end
  # end
end

Version data entries

125 entries across 124 versions & 2 rubygems

Version Path
blacklight-7.9.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.8.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.8.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-6.23.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.7.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.6.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.5.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-6.22.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.5.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.4.2 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.4.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-6.21.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.4.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.3.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.2.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.1.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.1.0.alpha lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-6.20.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.0.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-6.19.2 lib/generators/blacklight/templates/search_builder_spec.rb