Clone this repository.
git clone git@github.com:JumpstartLab/warmup-exercises.git
- Install RVM
- Install Ruby 2.0.0
$ \curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled
- Install Node.js
- Install jasmine-node
$ brew install node
$ npm install jasmine-node -g
Update the ~/.bash_profile
to include NPM binary files on the PATH:
export PATH=/usr/local/share/npm/bin:$PATH
$ cd WARMUP
$ ruby test.rb
$ cd WARMUP
$ jasmine-node test.spec.js
Jasmine-Node favors JavaScript files over CoffeeScript (even with the differing file endings) so the test file named is named differently.
$ cd WARMUP
$ jasmine-node --coffee coffee.spec.coffee