Sha256: 5efb141192aea7ba6455f36732f5d409277f9838d50b4cae64f0aaa23d773c8e

Contents?: true

Size: 387 Bytes

Versions: 10

Compression:

Stored size: 387 Bytes

Contents

require 'rubygems'
require File.expand_path(File.join(File.dirname(__FILE__), 'jasmine_config'))

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

10 entries across 10 versions & 2 rubygems

Version Path
jasmine-0.10.2.1 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.10.2.0 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.4.6 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.4.5 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.4.4 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
satisfaction-jasmine-0.4.3 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.4.3 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.4.2 generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
jasmine-0.4.1 generators/jasmine/templates/spec/javascripts/support/jasmine_spec.rb
jasmine-0.4.0 generators/jasmine/templates/spec/javascripts/support/jasmine_spec.rb