mirror of
https://github.com/varvet/pundit.git
synced 2022-11-09 12:30:11 -05:00
Update rspec generator to case when rails_helper.rb exists
This commit is contained in:
parent
d09f8aed7e
commit
3d31e97a57
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
require 'spec_helper'
|
||||
require '<%= File.exists?('spec/rails_helper.rb') ? 'rails_helper' : 'spec_helper' %>'
|
||||
|
||||
describe <%= class_name %>Policy do
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue