Simplify account model username presence validation spec (#31013)
This commit is contained in:
parent
fcb83be8b2
commit
67faaf5557
4 changed files with 14 additions and 5 deletions
8
spec/support/shoulda_matchers.rb
Normal file
8
spec/support/shoulda_matchers.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Shoulda::Matchers.configure do |config|
|
||||
config.integrate do |with|
|
||||
with.test_framework :rspec
|
||||
with.library :rails
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue