Permalink
Browse files

built-in scaffold generator already runs the hook for helper

  • Loading branch information...
1 parent 4a30681 commit fd965a22ae8ff194d1a2a20b8d09909aed39658d @jackdempsey jackdempsey committed May 31, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −5 lib/generators/rspec/scaffold/scaffold_generator.rb
@@ -35,11 +35,6 @@ def generate_view_specs
copy_view :show
end
- # Invoke the helper using the controller name (pluralized)
- hook_for :helper, :as => :scaffold do |invoked|
- invoke invoked, [ controller_name ]
- end
-
def generate_routing_spec
return unless options[:routing_specs]

0 comments on commit fd965a2

Please sign in to comment.