зеркало из https://github.com/github/dat-science.git
Update deps
Pin minitest and mocha, stop using the deprecated MiniTest::Unit::TestCase constant.
This commit is contained in:
Родитель
16dc70cd46
Коммит
f4fc9c5b25
|
@ -12,6 +12,6 @@ Gem::Specification.new do |gem|
|
|||
gem.test_files = gem.files.grep /^test/
|
||||
gem.require_paths = ["lib"]
|
||||
|
||||
gem.add_development_dependency "minitest"
|
||||
gem.add_development_dependency "mocha"
|
||||
gem.add_development_dependency "minitest", "~> 5.0.8"
|
||||
gem.add_development_dependency "mocha", "~> 0.14.0"
|
||||
end
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require "minitest/autorun"
|
||||
require "dat/science/experiment"
|
||||
|
||||
class DatScienceExperimentTest < MiniTest::Unit::TestCase
|
||||
class DatScienceExperimentTest < MiniTest::Test
|
||||
class Experiment < Dat::Science::Experiment
|
||||
def self.published
|
||||
@published ||= []
|
||||
|
|
|
@ -2,7 +2,7 @@ require "minitest/autorun"
|
|||
require "mocha/setup"
|
||||
require "dat/science"
|
||||
|
||||
class DatScienceTest < MiniTest::Unit::TestCase
|
||||
class DatScienceTest < MiniTest::Test
|
||||
def teardown
|
||||
Dat::Science.reset
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче