Enable shoulda/matchers
This commit is contained in:
parent
7b16fdc112
commit
e3afa2246c
1 changed files with 7 additions and 7 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue