Skip to content

Commit

Permalink
Add .rspec file to allow running individual tests
Browse files Browse the repository at this point in the history
We can now run tests without explicitly requiring the spec_helper
file in them, following the same approach as email-alert-api [1].

Example:

```
bundle exec rspec ./spec/use_cases/slack/send_messages_spec.rb
```

[1]: https://github.com/alphagov/email-alert-api/blob/master/.rspec
  • Loading branch information
ChrisBAshton committed Feb 3, 2021
1 parent c15434e commit 9c3b245
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--require spec_helper

0 comments on commit 9c3b245

Please sign in to comment.