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.34.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.0.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.0.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.0.0.beta8 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.0.0.beta7 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.0.0.beta6 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.0.0.beta5 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.33.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.0.0.beta4 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.0.0.beta3 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.0.0.beta2 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-8.0.0.beta1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.33.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.32.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.31.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.30.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.29.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-6.25.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.28.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.27.1 lib/generators/blacklight/templates/search_builder_spec.rb