1
0
Fork 0
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:
Jonas Nicklas 2014-09-24 09:56:14 +02:00
commit 2214acf661

View file

@ -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