Update README with instructions for running the tests

This commit is contained in:
Blake Erickson 2018-05-25 15:52:35 -06:00
parent 04ef6494de
commit 865e35342b
1 changed files with 6 additions and 0 deletions

View File

@ -130,6 +130,12 @@ Good luck setting up custom OAuth2 on your Discourse!
Please use [this topic on meta](https://meta.discourse.org/t/oauth2-basic-support/33879) to discuss Please use [this topic on meta](https://meta.discourse.org/t/oauth2-basic-support/33879) to discuss
issues with the plugin, including bugs and feature reqests. issues with the plugin, including bugs and feature reqests.
### How to run tests
Make sure the plugin has been installed, then from the discourse directory run:
LOAD_PLUGINS=1 bundle exec rspec plugins/discourse-oauth2-basic/spec/plugin_spec.rb
### License ### License