From 865e35342b76c89b6151e07791b5860d402b0cbf Mon Sep 17 00:00:00 2001 From: Blake Erickson Date: Fri, 25 May 2018 15:52:35 -0600 Subject: [PATCH] Update README with instructions for running the tests --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index ddf9014..0018953 100644 --- a/README.md +++ b/README.md @@ -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 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