Skip to content

Commit

Permalink
adding jasminerice for javascript specs
Browse files Browse the repository at this point in the history
  • Loading branch information
dougalcorn committed Mar 30, 2012
1 parent 6b7b5c3 commit 4dd499f
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ gem 'jquery-rails'
group :development, :test do group :development, :test do
gem "rspec-rails" gem "rspec-rails"
gem "rspec-given" gem "rspec-given"
gem "jasminerice"
end end
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ GEM
high_voltage (1.1.1) high_voltage (1.1.1)
hike (1.2.1) hike (1.2.1)
i18n (0.6.0) i18n (0.6.0)
jasminerice (0.0.8)
haml
journey (1.0.3) journey (1.0.3)
jquery-rails (2.0.1) jquery-rails (2.0.1)
railties (>= 3.2.0, < 5.0) railties (>= 3.2.0, < 5.0)
Expand Down Expand Up @@ -136,6 +138,7 @@ DEPENDENCIES
compass-rails compass-rails
haml haml
high_voltage high_voltage
jasminerice
jquery-rails jquery-rails
rails (= 3.2.2) rails (= 3.2.2)
rspec-given rspec-given
Expand Down
6 changes: 6 additions & 0 deletions spec/javascripts/foo_spec.coffee
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,6 @@

describe "jasminerice tests", ->
beforeEach ->
@foo = "bar"
it "works", ->
expect(@foo).toEqual("bar")
Empty file added spec/javascripts/spec.css
Empty file.
2 changes: 2 additions & 0 deletions spec/javascripts/spec.js.coffee
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,2 @@
#= require application
#= require_tree .
Binary file added vendor/cache/jasminerice-0.0.8.gem
Binary file not shown.

0 comments on commit 4dd499f

Please sign in to comment.