Sha256: 7e8650ab3a7a4dcded9e15a5fa4db824827b74435c071ea5648deec7f3c39b59

Contents?: true

Size: 604 Bytes

Versions: 11

Compression:

Stored size: 604 Bytes

Contents

#-*- encoding : utf-8 -*-
$:.unshift(ENV['JASMINE_GEM_PATH']) if ENV['JASMINE_GEM_PATH'] # for gem testing purposes

require 'rubygems'
require 'jasmine'
require 'rspec'
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

RSpec.configuration.after(:suite) do
  spec_builder.stop if should_stop
end

spec_builder.start
should_stop = true
spec_builder.declare_suites

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
wagn-1.14.4 spec/javascripts/support/jasmine_runner.rb
wagn-1.14.3 spec/javascripts/support/jasmine_runner.rb
wagn-1.14.2 spec/javascripts/support/jasmine_runner.rb
wagn-1.14.1 spec/javascripts/support/jasmine_runner.rb
wagn-1.14.0 spec/javascripts/support/jasmine_runner.rb
wagn-1.14.0.pre3 spec/javascripts/support/jasmine_runner.rb
wagn-1.14.0.pre2 spec/javascripts/support/jasmine_runner.rb
wagn-1.14.0.pre1 spec/javascripts/support/jasmine_runner.rb
wagn-1.13.0 spec/javascripts/support/jasmine_runner.rb
wagn-1.13.0.pre2 spec/javascripts/support/jasmine_runner.rb
wagn-1.13.0.pre1 spec/javascripts/support/jasmine_runner.rb