mirror of
https://github.com/varvet/pundit.git
synced 2022-11-09 12:30:11 -05:00
Merge pull request #208 from yatmsu/rails_helper
Update rspec generator to case when rails_helper.rb exists
This commit is contained in:
commit
2214acf661
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
|
describe <%= class_name %>Policy do
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue