Sha256: ecff1fbf79dd489587c7a8b6760935e4182f7d7bfe6c65647c3686ee1a3d4560

Contents?: true

Size: 713 Bytes

Versions: 6

Compression:

Stored size: 713 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", "expect"]
    suite.helper = "mocha_helper"
  end

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
teabag-0.3.5 spec/dummy/config/initializers/teabag.rb
teabag-0.3.4 spec/dummy/config/initializers/teabag.rb
teabag-0.3.3 spec/dummy/config/initializers/teabag.rb
teabag-0.3.2 spec/dummy/config/initializers/teabag.rb
teabag-0.3.1 spec/dummy/config/initializers/teabag.rb
teabag-0.3.0 spec/dummy/config/initializers/teabag.rb