lib/generators/rspec/controller/controller_generator.rb in rspec-rails-4.0.2 vs lib/generators/rspec/controller/controller_generator.rb in rspec-rails-4.1.0
- old
+ new
@@ -14,10 +14,10 @@
def generate_request_spec
return unless options[:request_specs]
template 'request_spec.rb',
- File.join('spec/requests', class_path, "#{file_name}_request_spec.rb")
+ File.join('spec/requests', class_path, "#{file_name}_spec.rb")
end
def generate_controller_spec
return unless options[:controller_specs]