Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
patch0 committed Jul 2, 2024
1 parent 1b3b738 commit 29e8021
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,13 @@ There are some standardised test helpers in `RpiAuth::SpecHelpers` that can be u

There is also a page at `/rpi_auth/test` that has log-in and sign-up buttons which can be navigated to as part of the test suite to avoid having to render pages, or navigate into the shadow roots.

To user these helpers you should add this to your `spec/rails_helper.rb`, inside the `RSpec.configure do |config|` block.

```ruby
config.include RpiAuth::SpecHelpers, type: :request
config.include RpiAuth::SpecHelpers, type: :system
```

## Troubleshooting

Diagnosing issues with OpenID Connect can be tricky, so here are some things to try.
Expand Down

0 comments on commit 29e8021

Please sign in to comment.