Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Commit

Permalink
Adding JS test instructions to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
escowles committed Nov 9, 2016
1 parent d087101 commit ff06adc
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 @@ -55,6 +55,22 @@ And run the test suite in another window:
$ rake spec
```

### Javascript tests

To run the Javascript test suite, run:

```sh
$ rake spec:javascript
```

You can then open the file `tmp/jasmine/runner.html` in a browser to run the tests in that browser.
You may need to pass options to allow access to local files, e.g., on MacOSX, you can quit Chrome
and then open it with the Javascript tests:

```sh
$ open -a "Google Chrome" tmp/jasmine/runner.html --args --allow-file-access-from-files
```

## Adding an Admin user

1. Run the development servers with `rake server:development`
Expand Down

0 comments on commit ff06adc

Please sign in to comment.