Sha256: 0608260e09aa07db3f79957d3c42bf55f8631ec997b64bfc0df4e80040ab01ef

Contents?: true

Size: 889 Bytes

Versions: 8

Compression:

Stored size: 889 Bytes

Contents

Teabag.setup do |config|

  config.root = Teabag::Engine.root
  config.asset_paths << Teabag::Engine.root.join('lib/teabag')

  config.suite do |suite|
    suite.javascripts = ["teabag/jasmine"]
  end

  config.suite :jasmine do |suite|
    suite.matcher = "spec/javascripts/**/*_jspec.{js,js.coffee,coffee}"
    suite.javascripts = ["teabag/jasmine"]
    suite.helper = "jasmine_helper"
  end

  config.suite :mocha do |suite|
    suite.matcher = "spec/javascripts/**/*_mspec.{js,js.coffee,coffee}"
    suite.javascripts = ["teabag/mocha"]
    suite.helper = "mocha_helper"
  end

  config.suite :qunit do |suite|
    suite.matcher = "test/javascripts/**/*_test.{js,js.coffee,coffee}"
    suite.javascripts = ["teabag/qunit"]
    suite.helper = "qunit_helper"
  end

end if defined?(Teabag) && Teabag.respond_to?(:setup) # let Teabag be undefined outside of development/test/asset groups

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
teabag-0.5.0 spec/dummy/config/initializers/teabag.rb
teabag-0.4.6 spec/dummy/config/initializers/teabag.rb
teabag-0.4.5 spec/dummy/config/initializers/teabag.rb
teabag-0.4.4 spec/dummy/config/initializers/teabag.rb
teabag-0.4.3 spec/dummy/config/initializers/teabag.rb
teabag-0.4.2 spec/dummy/config/initializers/teabag.rb
teabag-0.4.1 spec/dummy/config/initializers/teabag.rb
teabag-0.4.0 spec/dummy/config/initializers/teabag.rb