Sha256: e862762ccae84c79dcff426e977cd50ed438832e4d434861ab2ecdb782330579
Contents?: true
Size: 876 Bytes
Versions: 14
Compression:
Stored size: 876 Bytes
Contents
$:.unshift(ENV['JASMINE_GEM_PATH']) if ENV['JASMINE_GEM_PATH'] # for gem testing purposes require 'rubygems' require File.expand_path("../../../dummy/config/environment", __FILE__) require 'jasmine' jasmine_config_overrides = File.expand_path(File.join(File.dirname(__FILE__), 'jasmine_config.rb')) require jasmine_config_overrides if File.exist?(jasmine_config_overrides) if Jasmine::Dependencies.rspec2? require 'rspec' else require 'spec' end jasmine_config = Jasmine::Config.new spec_builder = Jasmine::SpecBuilder.new(jasmine_config) should_stop = false if Jasmine::Dependencies.rspec2? RSpec.configuration.after(:suite) do spec_builder.stop if should_stop end else Spec::Runner.configure do |config| config.after(:suite) do spec_builder.stop if should_stop end end end spec_builder.start should_stop = true spec_builder.declare_suites
Version data entries
14 entries across 14 versions & 1 rubygems