Skip to content

Commit

Permalink
Adapt request generator to use custom paths
Browse files Browse the repository at this point in the history
  • Loading branch information
pirj committed Jul 17, 2022
1 parent 41ea917 commit 7b7a86f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/rspec/request/request_generator.rb
Expand Up @@ -10,7 +10,7 @@ def generate_request_spec
return unless options[:request_specs]

template 'request_spec.rb',
File.join('spec/requests', "#{name.underscore.pluralize}_spec.rb")
target_path('requests', "#{name.underscore.pluralize}_spec.rb")
end
end
end
Expand Down

0 comments on commit 7b7a86f

Please sign in to comment.