Sha256: 7625d122fc6ca18e3946abcbb70186924b000fe6cb8c1f2e793f8c71ada04647

Contents?: true

Size: 1002 Bytes

Versions: 5

Compression:

Stored size: 1002 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.matcher = "{spec/javascripts,spec/dummy/app/assets/javascripts/specs}/**/*_spec.{js,js.coffee,coffee}"
    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

5 entries across 5 versions & 1 rubygems

Version Path
teabag-0.5.5 spec/dummy/config/initializers/teabag.rb
teabag-0.5.4 spec/dummy/config/initializers/teabag.rb
teabag-0.5.3 spec/dummy/config/initializers/teabag.rb
teabag-0.5.2 spec/dummy/config/initializers/teabag.rb
teabag-0.5.1 spec/dummy/config/initializers/teabag.rb