From 8152b66ea52909f634fb77092bf383d91017f05c Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 20 Dec 2023 20:57:41 +0000 Subject: Adds shoulda for rspec --- spec/rails_helper.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'spec/rails_helper.rb') 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. -- cgit v1.2.3