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.19.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.18.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.18.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.17.2 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.17.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.17.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.16.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.15.2 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.15.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.15.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-6.24.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.14.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.14.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.13.2 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.13.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.13.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.12.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.12.0 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.11.1 lib/generators/blacklight/templates/search_builder_spec.rb
blacklight-7.10.0 lib/generators/blacklight/templates/search_builder_spec.rb