lazy_named_routes_helpers 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -123,7 +123,7 @@ if Rails.env.test?
|
|
123
123
|
module ActionDispatch
|
124
124
|
class IntegrationTest
|
125
125
|
def method_missing(selector, *args, &block)
|
126
|
-
if @integration_session._routes.named_routes.helper_method?(selector)
|
126
|
+
if @integration_session && @integration_session._routes.named_routes.helper_method?(selector)
|
127
127
|
@integration_session.__send__(selector, *args, &block)
|
128
128
|
else
|
129
129
|
super
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lazy_named_routes_helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Stefan Kaes
|