We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41ea917 commit 7b7a86fCopy full SHA for 7b7a86f
lib/generators/rspec/request/request_generator.rb
@@ -10,7 +10,7 @@ def generate_request_spec
10
return unless options[:request_specs]
11
12
template 'request_spec.rb',
13
- File.join('spec/requests', "#{name.underscore.pluralize}_spec.rb")
+ target_path('requests', "#{name.underscore.pluralize}_spec.rb")
14
end
15
16
0 commit comments