From e3afa2246ca0aaa30210b7526bb36e846da326c1 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Mon, 10 Feb 2025 18:15:01 -0800 Subject: [PATCH] Enable shoulda/matchers --- spec/rails_helper.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index e5991db..7aae24f 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -48,13 +48,13 @@ RSpec.configure do |config| # If you use shoulda-matchers, you can configure them here. (Make sure you have # the shoulda-matchers gem installed and configured in your Gemfile.) # ----------------------------------------------------------------------------- - # require 'shoulda/matchers' - # Shoulda::Matchers.configure do |matcher_config| - # matcher_config.integrate do |with| - # with.test_framework :rspec - # with.library :rails - # end - # end + require 'shoulda/matchers' + Shoulda::Matchers.configure do |matcher_config| + matcher_config.integrate do |with| + with.test_framework :rspec + with.library :rails + end + end # ----------------------------------------------------------------------------- # FactoryBot Syntax Methods: