Class: Avm::EacRubyBase1::Sources::Tests::Minitest

Inherits:
Base
  • Object
show all
Defined in:
lib/avm/eac_ruby_base1/sources/tests/minitest.rb

Instance Method Summary collapse

Methods inherited from Base

#dependency_present?, #name, #to_s

Instance Method Details

#bundle_exec_argsObject



8
9
10
# File 'lib/avm/eac_ruby_base1/sources/tests/minitest.rb', line 8

def bundle_exec_args
  %w[rake test]
end

#dependency_gemObject



12
13
14
# File 'lib/avm/eac_ruby_base1/sources/tests/minitest.rb', line 12

def dependency_gem
  'minitest'
end

#elegible?Boolean



16
17
18
# File 'lib/avm/eac_ruby_base1/sources/tests/minitest.rb', line 16

def elegible?
  super && gem.rakefile_path.exist?
end

#test_directoryObject



20
21
22
# File 'lib/avm/eac_ruby_base1/sources/tests/minitest.rb', line 20

def test_directory
  'test'
end