Sha256: d879a40a465981a5a4ce9fb8cab66e5d3516986321a068d593c8e79817482d06
Contents?: true
Size: 594 Bytes
Versions: 5
Compression:
Stored size: 594 Bytes
Contents
$:.unshift(ENV['JASMINE_GEM_PATH']) if ENV['JASMINE_GEM_PATH'] # for gem testing purposes require 'rubygems' require 'jasmine' jasmine_config_overrides = File.expand_path(File.join(File.dirname(__FILE__), 'jasmine_config.rb')) require jasmine_config_overrides if File.exists?(jasmine_config_overrides) jasmine_config = Jasmine::Config.new spec_builder = Jasmine::SpecBuilder.new(jasmine_config) should_stop = false Spec::Runner.configure do |config| config.after(:suite) do spec_builder.stop if should_stop end end spec_builder.start should_stop = true spec_builder.declare_suites
Version data entries
5 entries across 5 versions & 1 rubygems