Skip to content

Commit

Permalink
Merge pull request #81 from projectblacklight/blacklight-7
Browse files Browse the repository at this point in the history
Update test for compatibility with Blacklight 7
  • Loading branch information
mejackreed authored Dec 21, 2018
2 parents 582c682 + b48a7f5 commit c0ff1d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blacklight-marc.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency 'blacklight', '> 7.0.0.a', '< 8.a'
spec.add_dependency 'blacklight', '~> 7.0'
spec.add_dependency "library_stdnums"
spec.add_dependency "rails"
# Let's allow future versions of marc, count on
Expand Down
2 changes: 1 addition & 1 deletion spec/views/catalog/index.atom.builder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@params = { :content_format => 'marc', :f => { :format => ['Book'] }, :page => 2 }

# run a solr query to get our data
service = CatalogController.search_service_class.new(@config, @params)
service = CatalogController.search_service_class.new(config: @config, user_params: @params)
@response, _ = service.search_results
@document_list = @response.documents
end
Expand Down

0 comments on commit c0ff1d9

Please sign in to comment.