mirror of
https://github.com/varvet/pundit.git
synced 2022-11-09 12:30:11 -05:00
Add type: :policy metadata to RSpec template #566
This commit is contained in:
parent
290536f71e
commit
c6801a8963
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
require '<%= File.exists?('spec/rails_helper.rb') ? 'rails_helper' : 'spec_helper' %>'
|
||||
|
||||
RSpec.describe <%= class_name %>Policy do
|
||||
RSpec.describe <%= class_name %>Policy, type: :policy do
|
||||
let(:user) { User.new }
|
||||
|
||||
subject { described_class }
|
||||
|
|
Loading…
Reference in a new issue