Enable shoulda/matchers

This commit is contained in:
Justin Edmund 2025-02-10 18:15:01 -08:00
parent 7b16fdc112
commit e3afa2246c

View file

@ -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: