Skip to content

Commit 8b8e2a7

Browse files
committed
Removes Minitest dependencies in elasticsearch-api
1 parent 311ea0d commit 8b8e2a7

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

elasticsearch-api/elasticsearch-api.gemspec

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,8 @@ Gem::Specification.new do |s|
4848
s.add_development_dependency 'bundler'
4949
s.add_development_dependency 'elasticsearch'
5050
s.add_development_dependency 'elasticsearch-test-runner' unless defined?(JRUBY_VERSION) && JRUBY_VERSION <= '9.4'
51-
s.add_development_dependency 'minitest'
52-
s.add_development_dependency 'minitest-reporters', '>= 1.6'
53-
s.add_development_dependency 'mocha'
5451
s.add_development_dependency 'pry'
5552
s.add_development_dependency 'rake'
56-
s.add_development_dependency 'shoulda-context'
5753
s.add_development_dependency 'yard'
5854

5955
# Gems for testing integrations
@@ -68,7 +64,6 @@ Gem::Specification.new do |s|
6864
s.add_development_dependency 'require-prof' unless defined?(JRUBY_VERSION) || defined?(Rubinius)
6965
s.add_development_dependency 'ruby-prof' unless defined?(JRUBY_VERSION) || defined?(Rubinius)
7066
s.add_development_dependency 'simplecov'
71-
s.add_development_dependency 'test-unit', '~> 2'
7267
s.description = <<-DESC.gsub(/^ /, '')
7368
Ruby API for Elasticsearch. See the `elasticsearch` gem for full integration.
7469
DESC

elasticsearch-api/spec/unit/test_helper.rb

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,6 @@
2626
require 'elasticsearch'
2727
require 'elasticsearch/api'
2828

29-
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new(print_failure_summary: true)
30-
31-
module Minitest
32-
class Test
33-
def assert_nothing_raised(*args)
34-
begin
35-
line = __LINE__
36-
yield
37-
rescue Exception => e
38-
raise MiniTest::Assertion, "Exception raised:\n<#{e.class}>", e.backtrace
39-
end
40-
true
41-
end
42-
end
43-
end
44-
4529
module Elasticsearch
4630
module Test
4731
class FakeClient

0 commit comments

Comments
 (0)