Skip to content

Loading…

built-in scaffold generator already runs the hook for helper #551

Merged
merged 1 commit into from

2 participants

@jackdempsey

Remove hook_for :helper. Can't get specs running locally so hoping travis can help here.

@dchelimsky dchelimsky merged commit 887f9a4 into rspec:master
@dchelimsky dchelimsky added a commit that referenced this pull request
@dchelimsky dchelimsky Changlog for #551 [ci skip] cfca79e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 5 deletions.
  1. +0 −5 lib/generators/rspec/scaffold/scaffold_generator.rb
View
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]
Something went wrong with that request. Please try again.