diff options
author | Matthew Lemon <y@yulqen.org> | 2023-12-20 20:57:41 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-12-20 20:57:41 +0000 |
commit | 8152b66ea52909f634fb77092bf383d91017f05c (patch) | |
tree | a794d28636bc9baaf3a88120bb670d73974c6742 /spec/rails_helper.rb | |
parent | 39248cd32ede354aec38e617415b432570f4f454 (diff) |
Adds shoulda for rspec
Diffstat (limited to 'spec/rails_helper.rb')
-rw-r--r-- | spec/rails_helper.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index b30b931..4ff79f4 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -36,6 +36,13 @@ RSpec.configure do |config| Rails.root.join('spec/fixtures') ] + Shoulda::Matchers.configure do |config| + config.integrate do |with| + with.test_framework :rspec + with.library :rails + end + end + # If you're not using ActiveRecord, or you'd prefer not to run each of your # examples within a transaction, remove the following line or assign false # instead of true. |