Skip to content

Commit

Permalink
Updated how to test doc
Browse files Browse the repository at this point in the history
  • Loading branch information
MKHenson committed Jan 25, 2017
1 parent 7b59ebd commit 213e056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/how-to-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Ensure that both the modepress and users servers are running

Then run the tests. Make sure you pass in as arguments, both the modepress "--config" and Users "--uconfig" file locations. You also need to specify which server to test with the --server argument. This is an index of the servers property in the modepress config json. If you have 3 servers, you can test the first by specifying --server=0 and the last by specifying --server=2

mocha index.js -R spec --config="../dist/example-config.json" --uconfig="../../../users/dist/example-config.json" --server=0
mocha index.js -R spec --config="../dist/example-config.json" --uconfig="../../users/dist/example-config.json" --server=0

0 comments on commit 213e056

Please sign in to comment.