Skip to content

Commit

Permalink
Updates Gemfile, actions
Browse files Browse the repository at this point in the history
  • Loading branch information
picandocodigo committed Sep 11, 2024
1 parent d80a249 commit 44c47cd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ jobs:
ruby-version: 2.7
- name: Run Rubocop
run: |
sudo apt-get install libcurl4-openssl-dev
bundle install
bundle exec rubocop
1 change: 1 addition & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- name: Build and test with Rake
run: |
ruby -v
sudo apt-get install libcurl4-openssl-dev
bundle install
bundle exec rake spec:client
test-jruby:
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ gemspec

gem 'awesome_print'
gem 'byebug' unless defined?(JRUBY_VERSION)
gem 'faraday-patron'
gem 'rake'
gem 'rspec', '~> 3.9.0'
gem 'rspec_junit_formatter'
Expand Down
2 changes: 1 addition & 1 deletion spec/app-search/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
end

context 'independent from EnterpriseSearch client' do
let(:app_client) { Elastic::EnterpriseSearch::AppSearch::Client.new(host: host) }
let(:app_client) { Elastic::EnterpriseSearch::AppSearch::Client.new(host: host, adapter: :net_http) }

it 'initializes a workplace search client' do
expect(app_client).not_to be nil
Expand Down

0 comments on commit 44c47cd

Please sign in to comment.