Jasmine Gem dynamically serves and runs suites for Jasmine.
gem install jasmine
For Rails2 support, use
For Rails3 support, use
bundle exec jasmine init
For other Ruby projects (including Merb), use
After initializing a project, you may
to set up a server. Opening localhost:8888 in a web browser will now run your jasmine specs.
You may also
which will run your Jasmine suites using selenium and rspec. This task is suitable for running in continuous integration environments. There is currently a known issue using this rake task with RSpec2 beta.
You may use dir glob strings.
It is also possible to add overrides into the
Copyright (c) 2008-2010 Pivotal Labs. This software is licensed under the MIT License.