Minor doc update
This commit is contained in:
parent
e0a90dd473
commit
e5503c98d8
|
@ -1,21 +1,37 @@
|
||||||
jasmine-ruby
|
jasmine-ruby
|
||||||
============
|
============
|
||||||
|
|
||||||
git clone git://github.com/ragaskar/jasmine-ruby.git
|
Jasmine Ruby dynamically serves HTML suites for (Jasmine)[http://github.com/pivotal/jasmine]
|
||||||
cd jasmine-ruby
|
|
||||||
rake jeweler:build
|
|
||||||
rake jeweler:install
|
|
||||||
cd ..
|
|
||||||
mkdir test-jasmine
|
|
||||||
cd test-jasmine
|
|
||||||
jasmine init
|
|
||||||
rake jasmine
|
|
||||||
|
|
||||||
then
|
To use:
|
||||||
|
|
||||||
http://localhost:8888
|
`(sudo) gem install jasmine`
|
||||||
|
|
||||||
and go!
|
Post-installation:
|
||||||
|
|
||||||
After a few more touch-ups, I'll update the gemcutter.org gem ...
|
For Rails support, use
|
||||||
|
|
||||||
|
`script/generate jasmine`
|
||||||
|
|
||||||
|
For other projects, use
|
||||||
|
|
||||||
|
`jasmine init`
|
||||||
|
|
||||||
|
After initializing a project, you may
|
||||||
|
|
||||||
|
`rake jasmine`
|
||||||
|
|
||||||
|
to set up a server. Opening localhost:8888 in a web browser will now run your jasmine specs.
|
||||||
|
|
||||||
|
You may also
|
||||||
|
|
||||||
|
`rake jasmine:ci`
|
||||||
|
|
||||||
|
which will run your Jasmine suites using selenium and rspec. This task is suitable for running in continuous integration environments.
|
||||||
|
|
||||||
|
Simple Configuration:
|
||||||
|
|
||||||
|
Customize `spec/javascripts/support/jasmine.yaml` to enumerate the source files, stylesheets, and spec files you would like the Jasmine runner to include.
|
||||||
|
You may use dir glob strings.
|
||||||
|
|
||||||
|
It is also possible to add overrides into the `spec/javascripts/support/jasmine_config.rb` file directly if you require further customization.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = %q{jasmine}
|
s.name = %q{jasmine}
|
||||||
s.version = "0.4.0"
|
s.version = "0.4.1"
|
||||||
|
|
||||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||||
s.authors = ["Rajan Agaskar", "Christian Williams"]
|
s.authors = ["Rajan Agaskar", "Christian Williams"]
|
||||||
|
|
Loading…
Reference in New Issue