Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

jack dempsey David Chelimsky
jack dempsey

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

David Chelimsky dchelimsky merged commit 887f9a4 into from
David Chelimsky dchelimsky referenced this pull request from a commit
David Chelimsky 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
5 lib/generators/rspec/scaffold/scaffold_generator.rb
View
@@ -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.