Sha256: 8771d4b425c3a37ceb71a21ad765ad2ab877a2fa0bc70f83334cc632ea6ec1d6
Contents?: true
Size: 595 Bytes
Versions: 24
Compression:
Stored size: 595 Bytes
Contents
require 'mspec' require 'mspec/utils/script' require 'mspec/version' TEST_LIBS_ONLY = false class SpecRunner < MSpecScript def initialize super config[:files] = [] # turn on exception backtrace MSpec.backtrace = true #MSpec.guard specs = Rho::RhoFSConnector.get_app_path('app') + "**/*_spec.iseq" Dir.glob(specs) { |file| file.gsub!(Rho::RhoFSConnector.get_app_path('app'),"") file.gsub!(/\.iseq/,"") config[:files] << file } end def run MSpec.register_files config[:files] MSpec.process MSpec.exit_code end end
Version data entries
24 entries across 24 versions & 1 rubygems