Skip to content

Commit

Permalink
Clarify building of rspec to run specs
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 20, 2013
1 parent b4786e8 commit 22d7cd0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@ Install required gems at required versions:

$ bundle install

opal-rspec uses a prebuilt version of rspec to fix the areas where
opal cannot handle certain features of rspec. To build that file,
which is needed to run specs, use:

$ bundle exec rake build

This should build `opal/opal/rspec/rspec.js` ready to use.

### Run on command line

A simple rake task should run the example specs in `spec/`:

$ bundle exec rake

### Run in the browser

Run attached rack app to handle building:

$ bundle exec rackup
Expand Down

0 comments on commit 22d7cd0

Please sign in to comment.