Fix RSpec/SubjectDeclaration
cop (#25312)
This commit is contained in:
parent
f134a5f9d8
commit
c75df62ccc
21 changed files with 45 additions and 51 deletions
|
@ -4,7 +4,8 @@ require 'rails_helper'
|
|||
require 'pundit/rspec'
|
||||
|
||||
RSpec.describe RelayPolicy do
|
||||
let(:subject) { described_class }
|
||||
subject { described_class }
|
||||
|
||||
let(:admin) { Fabricate(:user, role: UserRole.find_by(name: 'Admin')).account }
|
||||
let(:john) { Fabricate(:account) }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue