Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Rails 3.2 ActiveSupport::Concern deprecation fix #11

Merged
merged 1 commit into from

2 participants

@Imomoi

No description provided.

@calas calas merged commit 40b174f into from
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 7 additions and 9 deletions.
  1. +7 −9 lib/rspec/rails/example/cell_example_group.rb
View
16 lib/rspec/rails/example/cell_example_group.rb
@@ -39,16 +39,14 @@ def render_cell(*args)
end
end
- module InstanceMethods
- attr_reader :controller, :routes
+ attr_reader :controller, :routes
- def method_missing(method, *args, &block)
- # Send the route helpers to the application router.
- if @routes && @routes.named_routes.helpers.include?(method)
- @controller.send(method, *args, &block)
- else
- super
- end
+ def method_missing(method, *args, &block)
+ # Send the route helpers to the application router.
+ if @routes && @routes.named_routes.helpers.include?(method)
+ @controller.send(method, *args, &block)
+ else
+ super
end
end
Something went wrong with that request. Please try again.