Sha256: c8c3e0ae31a2b3dbae420064b92fc861ee81de730aba2df1a94442132225abbb

Contents?: true

Size: 502 Bytes

Versions: 11

Compression:

Stored size: 502 Bytes

Contents

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

11 entries across 11 versions & 2 rubygems

Version Path
jasmine-0.11.0.0 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
midas-0.1.0 spec/javascripts/support/jasmine_runner.rb
jasmine-0.10.4.0 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.10.3.5 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.10.3.4 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.10.3.3 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.10.3.2 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.10.3.1 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.10.3 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.10.2.4 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.10.2.3 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb