Fix RSpec/InferredSpecType cop (#24736)
This commit is contained in:
parent
710745e16b
commit
c97b611b6b
171 changed files with 170 additions and 345 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Invite, type: :model do
|
||||
RSpec.describe Invite do
|
||||
describe '#valid_for_use?' do
|
||||
it 'returns true when there are no limitations' do
|
||||
invite = Fabricate(:invite, max_uses: nil, expires_at: nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue