diff --git a/.travis.yml b/.travis.yml index e02a805..2861f53 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,5 @@ +dist: bionic + notifications: email: false diff --git a/Gemfile b/Gemfile index 2ca2bab..a5960f9 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,4 @@ -source 'http://rubygems.org' +source 'https://rubygems.org' gemspec diff --git a/spec/lib/blacklight_advanced_search/render_constraints_override_spec.rb b/spec/lib/blacklight_advanced_search/render_constraints_override_spec.rb index 3f73aa4..fec28d4 100644 --- a/spec/lib/blacklight_advanced_search/render_constraints_override_spec.rb +++ b/spec/lib/blacklight_advanced_search/render_constraints_override_spec.rb @@ -18,7 +18,8 @@ end end - subject(:rendered) { helper.render_constraints_filters({}) } + let (:search_state) { Blacklight::SearchState.new(params, blacklight_config)} + subject(:rendered) { helper.render_constraints_filters(search_state) } context 'with an array of facet params' do let(:params) { ActionController::Parameters.new f_inclusive: { 'type' => ['a'] } }