Skip to content

Commit

Permalink
Update tests/README.md to use proper sub-directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Jan 22, 2014
1 parent 0b25344 commit dd3d349
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ for Sass with Compass. https://github.com/Team-Sass/navigator

Navigator works through Ruby, so you need to be running Ruby 1.8.7 or greater, and you to install [Bundler](http://bundler.io/) with `gem install bundler` or, for Mac OS X and other systems requiring administrative privileges, `sudo gem install bundler`.

Once Bundler is installed, run `bundle install` to install libraries required by this project.
Once Bundler is installed, change to the tests directory and run `bundle install` to install libraries required by this project.

## Running tests

Once you have everything installed, run `bundle exec rake` to run the tests. This will compile all of the files in your `tests/tests` files into CSS files and compare those files to the files in `tests/controls`. If any of your output file from your tests don't line up with your controls, you'll get a `.diff` file generated of the differences and you'll get a failed assertion. If your Sass won't compile, you'll get a failed assertion.
Once you have everything installed, change to the tests directory and run `bundle exec rake` to run the tests. This will compile all of the files in your `tests/tests` files into CSS files and compare those files to the files in `tests/controls`. If any of your output file from your tests don't line up with your controls, you'll get a `.diff` file generated of the differences and you'll get a failed assertion. If your Sass won't compile, you'll get a failed assertion.

If you're working off of a known set of good output and you'd like to generate your controls quickly, you can run `bundle exec rake compile`.

0 comments on commit dd3d349

Please sign in to comment.