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-8.6.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.40.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.6.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.5.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.5.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.39.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.4.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.38.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.3.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.2.2 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.2.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.2.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.37.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.36.2 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.36.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.36.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.35.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.1.0 lib/generators/blacklight/templates/search_builder_spec.rb