Sha256: f6c1b100f6bced61210bae990b32a083b7b5fe6af13f65c8e2e045e8e8fdad7e

Contents?: true

Size: 1.33 KB

Versions: 2

Compression:

Stored size: 1.33 KB

Contents

# Jasmine specs for the Rails asset pipeline

Run your specs while taking advantage of the Rails asset pipeline.

## Installation

Add this line to your application's Gemfile:

    gem 'rails_sandbox_jasmine'

Or if you prefer to use the master branch:

    gem 'rails_sandbox_jasmine', git: 'git://github.com/rosenfeld/rails_sandbox_jasmine' # or:
    gem 'rails_sandbox_jasmine', github: 'rosenfeld/rails_sandbox_jasmine' # Bundler-pre syntax

And then execute:

    $ bundle
    
## Usage

    $ rake sandbox_assets:serve

If you only intend to use the Jasmine test runner with the Rails Sandbox Assets gem, you can
set the default template to 'jasmine/runner' in your config/application.rb, for example:

    config.sandbox_assets.template = 'jasmine/runner'

Then name your specs as spec/javascripts/some\_spec.js.coffee.

By default, this gem will only enable the Jasmine test runner for specs under
spec/javascripts/jasmine/. Run them by browsing to http://localhost:5000/jasmine.

For more details on settings please take a look at the
[rails-sandbox-assets gem](http://github.com/rosenfeld/rails-sandbox-assets).

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_sandbox_jasmine-0.0.3 README.md
rails_sandbox_jasmine-0.0.2 README.md