Fix RSpec/InferredSpecType cop (#24736)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user