Sha256: 88c3045672b88a1cd22ef173702daccd070b924ad134373da8d29e314766add9
Contents?: true
Size: 1.38 KB
Versions: 7
Compression:
Stored size: 1.38 KB
Contents
// This is your spec helper. // // You can require other javascript files here. // // Teabag includes some useful javascripts for you, and you can include them here. // require support/jasmine-jquery // require support/sinon // require support/expect // // You're also able to include any of the files in support as well. // require support/your-support-file // // Deferring execution // This is useful if you're using CommonJS or RequireJS or some other asynchronous loading method. To defer test // execution until everything has been loaded asynchronously you can tell Teabag to defer, which then allows you to call // Teabag.execute() at a later time. Here's a simple example: // // Teabag.defer = true // setTimeout(function() { Teabag.execute() }, 1000) // // Spec files // By default Teabag will go looking for files that match the _spec.{js,js.coffee,.coffee} naming convention, so just // start dropping filename_spec.js files into this, or any nested path, and they'll automatically be picked up and // included in the default suite. If you're interested in creating custom suites, check out the configuration in // config/initializers/teabag.rb // // If you'd rather just require your spec files here manually (to control order for instance) you can disable the suite // matcher in the configuration and then use this file as a manifest. // // For more information: // http://github.com/modeset/teabag
Version data entries
7 entries across 7 versions & 1 rubygems