Permalink
Browse files

Merge pull request #551 from jackdempsey/remove_hook_for_helper

built-in scaffold generator already runs the hook for helper
  • Loading branch information...
2 parents 4a30681 + fd965a2 commit 887f9a4c60b1da4f0d98de18644602c2a44ad7cf @dchelimsky dchelimsky committed Jun 1, 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 887f9a4

Please sign in to comment.