rails_anonymous_controller_testing 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae4209c78f5fbe04812401242ebc41f448005547b3a99f95e4100a6c86ebc33d
4
- data.tar.gz: 3ccbd4f88dc6ebd29ac0ab69f3875467949896df125941d386e9ceaa373be7f1
3
+ metadata.gz: 70bf6129e4aae446b3466c9c8d1bdf534248645892896dc70ae2e2b0041ee668
4
+ data.tar.gz: d382411629f666e21e1e9ed06c875b018247e6f5ff2c3f7afcc13e26bbe2beaf
5
5
  SHA512:
6
- metadata.gz: 0530f6b5890971a25ce0c2f5ffc709542bc99bb02c7e754853f8b16ba1a4df0af46736a392664c19a5d129cacd36bfbdce3970da055ea8634e1b1d2bc08306c5
7
- data.tar.gz: 7c99f8c676676c219d6e730bcb640967b27da28bbd086ba86dff4833d47c14c16d5c6403274a0bb3b4a40bd1e13787d67b2cde1fda7034b30e8b037864fc7074
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
@@ -1,3 +1,3 @@
1
1
  module RailsAnonymousControllerTesting
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
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.3
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-08-06 00:00:00.000000000 Z
11
+ date: 2021-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack