rails_anonymous_controller_testing 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 70bf6129e4aae446b3466c9c8d1bdf534248645892896dc70ae2e2b0041ee668
|
|
4
|
+
data.tar.gz: d382411629f666e21e1e9ed06c875b018247e6f5ff2c3f7afcc13e26bbe2beaf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c25a28667ef38908a028f1c092de6282c928f1401628a021ae48d7b1dfeb684390c857a2b05fc2533344507846e55a294b06af19e221b0d06080bd1eb16748a
|
|
7
|
+
data.tar.gz: cbbfaddef07e6221537f295463987ff9d05f206b3a5bb806f6cd2dc68e6c6a95457ca28b8b13814217a12708f181566ba70e97bcc7a897d8ec19fa4484a1754e
|
|
@@ -76,6 +76,8 @@ class RailsAnonymousControllerTesting::Railtie < ::Rails::Railtie
|
|
|
76
76
|
const_set(anonymous_controller_name, anonymous_controller_class)
|
|
77
77
|
|
|
78
78
|
setup do
|
|
79
|
+
Rails.application.reload_routes!
|
|
80
|
+
|
|
79
81
|
# Set up the routes
|
|
80
82
|
if !routes
|
|
81
83
|
resource_name = anonymous_controller_class.controller_name.to_sym
|
|
@@ -86,7 +88,6 @@ class RailsAnonymousControllerTesting::Railtie < ::Rails::Railtie
|
|
|
86
88
|
end
|
|
87
89
|
end
|
|
88
90
|
|
|
89
|
-
# Rails.application.routes.draw(&routes)
|
|
90
91
|
Rails.application.routes.send(:eval_block, routes)
|
|
91
92
|
|
|
92
93
|
# Set up the views
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_anonymous_controller_testing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Zach Ahn
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-09-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionpack
|