actionpack-direct_routes 0.2.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -8
- data/lib/action_dispatch/routing/direct_routes/mapper/scope.rb +5 -1
- data/lib/action_dispatch/routing/direct_routes/route_set/custom_url_helper.rb +1 -1
- data/lib/action_dispatch/routing/direct_routes/route_set/url_helpers.rb +8 -0
- data/lib/action_dispatch/routing/direct_routes/url_for.rb +19 -0
- data/lib/actionpack/direct_routes.rb +2 -0
- data/lib/actionpack/direct_routes/version.rb +1 -1
- data/test/integration/custom_url_helpers_test.rb +24 -5
- data/test/integration/direct_routes_test.rb +53 -0
- data/test/test_helper.rb +5 -5
- metadata +66 -57
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -0
- data/test/dummy/log/test.log +0 -360
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccc5f1672e2b3dec8b0ebcf2d5db0b55605809cb
|
4
|
+
data.tar.gz: 214a93f522ca73f42893e74a5186dfe85848aaff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9613b751b5c34a1809ce3f0b79dfd379ce1dd87f84670fcf9c544848f553f53dd402cf528ef8763915354e4f4c37b95fab4d9bddd1d5f87c01ea666c6686518d
|
7
|
+
data.tar.gz: f7911bff1ff3db61b987b325e3cdfcec456addf0431954f727317245f40aa2a1d0fcd3b33d6f10c8893117cef221e283fe0e161f0b0478fcab18e667dd082a47
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
[![Gem Version](https://badge.fury.io/rb/actionpack-direct_routes.svg)](https://badge.fury.io/rb/actionpack-direct_routes)
|
2
|
-
[![Build Status](https://travis-ci.
|
2
|
+
[![Build Status](https://travis-ci.com/hamuyuuki/actionpack-direct_routes.svg?branch=master)](https://travis-ci.com/hamuyuuki/actionpack-direct_routes)
|
3
3
|
[![Maintainability](https://api.codeclimate.com/v1/badges/37a26fb3d2dbec167997/maintainability)](https://codeclimate.com/github/hamuyuuki/actionpack-direct_routes/maintainability)
|
4
4
|
[![Test Coverage](https://api.codeclimate.com/v1/badges/37a26fb3d2dbec167997/test_coverage)](https://codeclimate.com/github/hamuyuuki/actionpack-direct_routes/test_coverage)
|
5
5
|
|
@@ -11,18 +11,18 @@ Rails 5.1 adds Direct routes that you can create custom URL helpers directly.
|
|
11
11
|
|
12
12
|
## Getting Started
|
13
13
|
Install `actionpack-direct_routes` at the command prompt:
|
14
|
-
```
|
14
|
+
```sh
|
15
15
|
gem install actionpack-direct_routes
|
16
16
|
```
|
17
17
|
|
18
18
|
Or add `actionpack-direct_routes` to your Gemfile:
|
19
|
-
```
|
19
|
+
```ruby
|
20
20
|
gem "actionpack-direct_routes"
|
21
21
|
```
|
22
22
|
|
23
23
|
## How to use
|
24
24
|
You can create custom URL helpers directly. For example:
|
25
|
-
```
|
25
|
+
```ruby
|
26
26
|
direct :homepage do
|
27
27
|
"http://www.rubyonrails.org"
|
28
28
|
end
|
@@ -33,10 +33,6 @@ end
|
|
33
33
|
|
34
34
|
For details to [Rails Routing from the Outside In — Ruby on Rails Guides](https://guides.rubyonrails.org/routing.html#direct-routes)
|
35
35
|
|
36
|
-
|
37
|
-
## Limitation
|
38
|
-
You can backport Direct routes into Rails 4.2 only now.
|
39
|
-
|
40
36
|
## Contributing
|
41
37
|
Bug reports and pull requests are welcome on GitHub at https://github.com/hamuyuuki/actionpack-direct_routes. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
42
38
|
|
@@ -15,7 +15,7 @@ module ActionDispatch
|
|
15
15
|
|
16
16
|
def call(t, args, only_path = false)
|
17
17
|
options = args.extract_options!
|
18
|
-
url = t.
|
18
|
+
url = t.full_url_for(eval_block(t, args, options))
|
19
19
|
|
20
20
|
if only_path
|
21
21
|
"/" + url.partition(%r{(?<!/)/(?!/)}).last
|
@@ -9,6 +9,14 @@ module ActionDispatch
|
|
9
9
|
proxy.url_for(options)
|
10
10
|
end
|
11
11
|
|
12
|
+
def full_url_for(options)
|
13
|
+
proxy.full_url_for(options)
|
14
|
+
end
|
15
|
+
|
16
|
+
def route_for(name, *args)
|
17
|
+
proxy.route_for(name, *args)
|
18
|
+
end
|
19
|
+
|
12
20
|
def optimize_routes_generation?
|
13
21
|
proxy.optimize_routes_generation?
|
14
22
|
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "route_set/url_helpers"
|
4
|
+
|
5
|
+
module ActionDispatch
|
6
|
+
module Routing
|
7
|
+
module DirectRoutes
|
8
|
+
module UrlFor
|
9
|
+
def self.included(url_for_module)
|
10
|
+
url_for_module.module_exec { alias full_url_for url_for }
|
11
|
+
end
|
12
|
+
|
13
|
+
def route_for(name, *args)
|
14
|
+
public_send(:"#{name}_url", *args)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -7,9 +7,11 @@ ActiveSupport.on_load(:before_initialize) do
|
|
7
7
|
require "action_dispatch/routing/direct_routes/mapper/scope"
|
8
8
|
require "action_dispatch/routing/direct_routes/route_set"
|
9
9
|
require "action_dispatch/routing/direct_routes/route_set/named_route_collection"
|
10
|
+
require "action_dispatch/routing/direct_routes/url_for"
|
10
11
|
|
11
12
|
ActionDispatch::Routing::Mapper.include(ActionDispatch::Routing::DirectRoutes::Mapper)
|
12
13
|
ActionDispatch::Routing::Mapper::Scope.include(ActionDispatch::Routing::DirectRoutes::Mapper::Scope)
|
13
14
|
ActionDispatch::Routing::RouteSet.prepend(ActionDispatch::Routing::DirectRoutes::RouteSet)
|
14
15
|
ActionDispatch::Routing::RouteSet::NamedRouteCollection.include(ActionDispatch::Routing::DirectRoutes::RouteSet::NamedRouteCollection)
|
16
|
+
ActionDispatch::Routing::UrlFor.include(ActionDispatch::Routing::DirectRoutes::UrlFor)
|
15
17
|
end
|
@@ -108,6 +108,7 @@ class CustomUrlHelpersTest < ActionDispatch::IntegrationTest
|
|
108
108
|
direct("string") { "http://www.rubyonrails.org" }
|
109
109
|
direct(:helper) { basket_url }
|
110
110
|
direct(:linkable) { |linkable| [:"#{linkable.linkable_type}", { id: linkable.id }] }
|
111
|
+
direct(:nested) { |linkable| route_for(:linkable, linkable) }
|
111
112
|
direct(:params) { |params| params }
|
112
113
|
direct(:symbol) { :basket }
|
113
114
|
direct(:hash) { { controller: "basket", action: "show" } }
|
@@ -135,7 +136,7 @@ class CustomUrlHelpersTest < ActionDispatch::IntegrationTest
|
|
135
136
|
@user = User.new
|
136
137
|
@page = Page.new("6")
|
137
138
|
@path_params = { "controller" => "pages", "action" => "index" }
|
138
|
-
@unsafe_params = ActionController::Parameters.new(@
|
139
|
+
@unsafe_params = ActionController::Parameters.new(@path_params)
|
139
140
|
@safe_params = ActionController::Parameters.new(@path_params).permit(:controller, :action)
|
140
141
|
end
|
141
142
|
|
@@ -160,10 +161,19 @@ class CustomUrlHelpersTest < ActionDispatch::IntegrationTest
|
|
160
161
|
assert_equal "/products/3", linkable_path(@product)
|
161
162
|
assert_equal "/products/3", Routes.url_helpers.linkable_path(@product)
|
162
163
|
|
164
|
+
assert_equal "/categories/1", nested_path(@category)
|
165
|
+
assert_equal "/categories/1", Routes.url_helpers.nested_path(@category)
|
166
|
+
|
163
167
|
assert_equal "/", params_path(@safe_params)
|
164
168
|
assert_equal "/", Routes.url_helpers.params_path(@safe_params)
|
165
|
-
|
166
|
-
|
169
|
+
|
170
|
+
if Rails::VERSION::MAJOR == 4 && Rails::VERSION::MINOR == 2
|
171
|
+
assert_equal "/", params_path(@unsafe_params)
|
172
|
+
assert_equal "/", Routes.url_helpers.params_path(@unsafe_params)
|
173
|
+
elsif Rails::VERSION::MAJOR == 5 && Rails::VERSION::MINOR == 0
|
174
|
+
assert_raises(ArgumentError) { params_path(@unsafe_params) }
|
175
|
+
assert_raises(ArgumentError) { Routes.url_helpers.params_path(@unsafe_params) }
|
176
|
+
end
|
167
177
|
|
168
178
|
assert_equal "/basket", symbol_path
|
169
179
|
assert_equal "/basket", Routes.url_helpers.symbol_path
|
@@ -200,10 +210,19 @@ class CustomUrlHelpersTest < ActionDispatch::IntegrationTest
|
|
200
210
|
assert_equal "http://www.example.com/products/3", linkable_url(@product)
|
201
211
|
assert_equal "http://www.example.com/products/3", Routes.url_helpers.linkable_url(@product)
|
202
212
|
|
213
|
+
assert_equal "http://www.example.com/categories/1", nested_url(@category)
|
214
|
+
assert_equal "http://www.example.com/categories/1", Routes.url_helpers.nested_url(@category)
|
215
|
+
|
203
216
|
assert_equal "http://www.example.com/", params_url(@safe_params)
|
204
217
|
assert_equal "http://www.example.com/", Routes.url_helpers.params_url(@safe_params)
|
205
|
-
|
206
|
-
|
218
|
+
|
219
|
+
if Rails::VERSION::MAJOR == 4 && Rails::VERSION::MINOR == 2
|
220
|
+
assert_equal "http://www.example.com/", params_url(@unsafe_params)
|
221
|
+
assert_equal "http://www.example.com/", Routes.url_helpers.params_url(@unsafe_params)
|
222
|
+
elsif Rails::VERSION::MAJOR == 5 && Rails::VERSION::MINOR == 0
|
223
|
+
assert_raises(ArgumentError) { params_url(@unsafe_params) }
|
224
|
+
assert_raises(ArgumentError) { Routes.url_helpers.params_url(@unsafe_params) }
|
225
|
+
end
|
207
226
|
|
208
227
|
assert_equal "http://www.example.com/basket", symbol_url
|
209
228
|
assert_equal "http://www.example.com/basket", Routes.url_helpers.symbol_url
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "test_helper"
|
4
|
+
|
5
|
+
require File.expand_path("../../../test/dummy/config/environment.rb", __FILE__)
|
6
|
+
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../../test/dummy/db/migrate", __FILE__)]
|
7
|
+
require "rails/test_help"
|
8
|
+
|
9
|
+
class DirectRoutesTest < ActionView::TestCase
|
10
|
+
class Linkable
|
11
|
+
attr_reader :id
|
12
|
+
|
13
|
+
def self.name
|
14
|
+
super.demodulize
|
15
|
+
end
|
16
|
+
|
17
|
+
def initialize(id)
|
18
|
+
@id = id
|
19
|
+
end
|
20
|
+
|
21
|
+
def linkable_type
|
22
|
+
self.class.name.underscore
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
class Category < Linkable; end
|
27
|
+
class Collection < Linkable; end
|
28
|
+
class Product < Linkable; end
|
29
|
+
|
30
|
+
Routes = ActionDispatch::Routing::RouteSet.new
|
31
|
+
Routes.draw do
|
32
|
+
resources :categories, :collections, :products
|
33
|
+
direct(:linkable) { |linkable| [:"#{linkable.linkable_type}", { id: linkable.id }] }
|
34
|
+
end
|
35
|
+
|
36
|
+
include Routes.url_helpers
|
37
|
+
|
38
|
+
def setup
|
39
|
+
@category = Category.new("1")
|
40
|
+
@collection = Collection.new("2")
|
41
|
+
@product = Product.new("3")
|
42
|
+
end
|
43
|
+
|
44
|
+
def test_direct_routes
|
45
|
+
assert_equal "/categories/1", linkable_path(@category)
|
46
|
+
assert_equal "/collections/2", linkable_path(@collection)
|
47
|
+
assert_equal "/products/3", linkable_path(@product)
|
48
|
+
|
49
|
+
assert_equal "http://test.host/categories/1", linkable_url(@category)
|
50
|
+
assert_equal "http://test.host/collections/2", linkable_url(@collection)
|
51
|
+
assert_equal "http://test.host/products/3", linkable_url(@product)
|
52
|
+
end
|
53
|
+
end
|
data/test/test_helper.rb
CHANGED
@@ -3,14 +3,14 @@
|
|
3
3
|
# Configure Rails Environment
|
4
4
|
ENV["RAILS_ENV"] = "test"
|
5
5
|
|
6
|
-
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
7
|
-
# to be shown.
|
8
|
-
require "minitest"
|
9
|
-
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
10
|
-
|
11
6
|
if ENV["CI"]
|
12
7
|
require "simplecov"
|
13
8
|
SimpleCov.start "rails" do
|
14
9
|
add_filter "/test/"
|
15
10
|
end
|
16
11
|
end
|
12
|
+
|
13
|
+
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
14
|
+
# to be shown.
|
15
|
+
require "minitest"
|
16
|
+
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
metadata
CHANGED
@@ -1,71 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionpack-direct_routes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hamuyuuki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.2'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: '5.1'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '4.2'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: '5.1'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: activesupport
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- - "
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '4.2'
|
40
|
+
- - "<"
|
32
41
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
42
|
+
version: '5.1'
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
|
-
- - "
|
47
|
+
- - ">="
|
39
48
|
- !ruby/object:Gem::Version
|
40
|
-
version: 4.2
|
49
|
+
version: '4.2'
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '5.1'
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
54
|
+
name: appraisal
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
44
56
|
requirements:
|
45
|
-
- - "
|
57
|
+
- - ">="
|
46
58
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
59
|
+
version: '0'
|
48
60
|
type: :development
|
49
61
|
prerelease: false
|
50
62
|
version_requirements: !ruby/object:Gem::Requirement
|
51
63
|
requirements:
|
52
|
-
- - "
|
64
|
+
- - ">="
|
53
65
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
66
|
+
version: '0'
|
55
67
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
68
|
+
name: minitest
|
57
69
|
requirement: !ruby/object:Gem::Requirement
|
58
70
|
requirements:
|
59
71
|
- - "~>"
|
60
72
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
73
|
+
version: 5.1.0
|
62
74
|
type: :development
|
63
75
|
prerelease: false
|
64
76
|
version_requirements: !ruby/object:Gem::Requirement
|
65
77
|
requirements:
|
66
78
|
- - "~>"
|
67
79
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
80
|
+
version: 5.1.0
|
69
81
|
- !ruby/object:Gem::Dependency
|
70
82
|
name: rubocop
|
71
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,16 +124,16 @@ dependencies:
|
|
112
124
|
name: simplecov
|
113
125
|
requirement: !ruby/object:Gem::Requirement
|
114
126
|
requirements:
|
115
|
-
- - "
|
127
|
+
- - "<"
|
116
128
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
129
|
+
version: '0.18'
|
118
130
|
type: :development
|
119
131
|
prerelease: false
|
120
132
|
version_requirements: !ruby/object:Gem::Requirement
|
121
133
|
requirements:
|
122
|
-
- - "
|
134
|
+
- - "<"
|
123
135
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
136
|
+
version: '0.18'
|
125
137
|
- !ruby/object:Gem::Dependency
|
126
138
|
name: sqlite3
|
127
139
|
requirement: !ruby/object:Gem::Requirement
|
@@ -153,6 +165,7 @@ files:
|
|
153
165
|
- lib/action_dispatch/routing/direct_routes/route_set/custom_url_helper.rb
|
154
166
|
- lib/action_dispatch/routing/direct_routes/route_set/named_route_collection.rb
|
155
167
|
- lib/action_dispatch/routing/direct_routes/route_set/url_helpers.rb
|
168
|
+
- lib/action_dispatch/routing/direct_routes/url_for.rb
|
156
169
|
- lib/actionpack/direct_routes.rb
|
157
170
|
- lib/actionpack/direct_routes/version.rb
|
158
171
|
- test/application/routing_test.rb
|
@@ -187,14 +200,12 @@ files:
|
|
187
200
|
- test/dummy/config/locales/en.yml
|
188
201
|
- test/dummy/config/routes.rb
|
189
202
|
- test/dummy/config/secrets.yml
|
190
|
-
- test/dummy/db/test.sqlite3
|
191
|
-
- test/dummy/log/development.log
|
192
|
-
- test/dummy/log/test.log
|
193
203
|
- test/dummy/public/404.html
|
194
204
|
- test/dummy/public/422.html
|
195
205
|
- test/dummy/public/500.html
|
196
206
|
- test/dummy/public/favicon.ico
|
197
207
|
- test/integration/custom_url_helpers_test.rb
|
208
|
+
- test/integration/direct_routes_test.rb
|
198
209
|
- test/test_helper.rb
|
199
210
|
homepage: https://github.com/hamuyuuki/actionpack-direct_routes
|
200
211
|
licenses:
|
@@ -216,49 +227,47 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
227
|
version: '0'
|
217
228
|
requirements: []
|
218
229
|
rubyforge_project:
|
219
|
-
rubygems_version: 2.6.14.
|
230
|
+
rubygems_version: 2.6.14.4
|
220
231
|
signing_key:
|
221
232
|
specification_version: 4
|
222
233
|
summary: Backport Direct routes into Rails 4 and Rails 5.0.
|
223
234
|
test_files:
|
224
235
|
- test/test_helper.rb
|
225
236
|
- test/application/routing_test.rb
|
237
|
+
- test/integration/direct_routes_test.rb
|
226
238
|
- test/integration/custom_url_helpers_test.rb
|
227
|
-
- test/dummy/
|
228
|
-
- test/dummy/
|
229
|
-
- test/dummy/
|
230
|
-
- test/dummy/
|
231
|
-
- test/dummy/
|
232
|
-
- test/dummy/
|
233
|
-
- test/dummy/
|
234
|
-
- test/dummy/
|
235
|
-
- test/dummy/
|
236
|
-
- test/dummy/
|
237
|
-
- test/dummy/config
|
238
|
-
- test/dummy/config/environment.rb
|
239
|
-
- test/dummy/config/routes.rb
|
239
|
+
- test/dummy/Rakefile
|
240
|
+
- test/dummy/bin/rake
|
241
|
+
- test/dummy/bin/rails
|
242
|
+
- test/dummy/bin/bundle
|
243
|
+
- test/dummy/bin/setup
|
244
|
+
- test/dummy/README.rdoc
|
245
|
+
- test/dummy/public/favicon.ico
|
246
|
+
- test/dummy/public/422.html
|
247
|
+
- test/dummy/public/404.html
|
248
|
+
- test/dummy/public/500.html
|
249
|
+
- test/dummy/config.ru
|
240
250
|
- test/dummy/config/boot.rb
|
241
251
|
- test/dummy/config/application.rb
|
242
|
-
- test/dummy/config/
|
252
|
+
- test/dummy/config/secrets.yml
|
253
|
+
- test/dummy/config/environment.rb
|
254
|
+
- test/dummy/config/environments/development.rb
|
255
|
+
- test/dummy/config/environments/test.rb
|
256
|
+
- test/dummy/config/environments/production.rb
|
243
257
|
- test/dummy/config/initializers/assets.rb
|
258
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
244
259
|
- test/dummy/config/initializers/cookies_serializer.rb
|
245
|
-
- test/dummy/config/initializers/
|
260
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
261
|
+
- test/dummy/config/initializers/to_time_preserves_timezone.rb
|
246
262
|
- test/dummy/config/initializers/session_store.rb
|
263
|
+
- test/dummy/config/initializers/mime_types.rb
|
247
264
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
248
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
249
265
|
- test/dummy/config/initializers/inflections.rb
|
250
|
-
- test/dummy/config/
|
251
|
-
- test/dummy/
|
252
|
-
- test/dummy/
|
253
|
-
- test/dummy/
|
254
|
-
- test/dummy/
|
255
|
-
- test/dummy/
|
256
|
-
- test/dummy/
|
257
|
-
- test/dummy/
|
258
|
-
- test/dummy/bin/rails
|
259
|
-
- test/dummy/bin/setup
|
260
|
-
- test/dummy/config.ru
|
261
|
-
- test/dummy/db/test.sqlite3
|
262
|
-
- test/dummy/Rakefile
|
263
|
-
- test/dummy/log/development.log
|
264
|
-
- test/dummy/log/test.log
|
266
|
+
- test/dummy/config/database.yml
|
267
|
+
- test/dummy/config/locales/en.yml
|
268
|
+
- test/dummy/config/routes.rb
|
269
|
+
- test/dummy/app/views/layouts/application.html.erb
|
270
|
+
- test/dummy/app/assets/stylesheets/application.css
|
271
|
+
- test/dummy/app/assets/javascripts/application.js
|
272
|
+
- test/dummy/app/controllers/application_controller.rb
|
273
|
+
- test/dummy/app/helpers/application_helper.rb
|
data/test/dummy/db/test.sqlite3
DELETED
File without changes
|
File without changes
|
data/test/dummy/log/test.log
DELETED
@@ -1,360 +0,0 @@
|
|
1
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2
|
-
------------------------------------------------------------------------------
|
3
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
4
|
-
------------------------------------------------------------------------------
|
5
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
6
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
-
---------------------------------------
|
8
|
-
CustomUrlHelpersTest: test_direct_paths
|
9
|
-
---------------------------------------
|
10
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
11
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
|
-
--------------------------------------
|
13
|
-
CustomUrlHelpersTest: test_direct_urls
|
14
|
-
--------------------------------------
|
15
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
16
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17
|
-
----------------------------------------------------------------------
|
18
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
19
|
-
----------------------------------------------------------------------
|
20
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
21
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
22
|
-
---------------------------------------
|
23
|
-
CustomUrlHelpersTest: test_direct_paths
|
24
|
-
---------------------------------------
|
25
|
-
[1m[35m (1.0ms)[0m rollback transaction
|
26
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27
|
-
--------------------------------------
|
28
|
-
CustomUrlHelpersTest: test_direct_urls
|
29
|
-
--------------------------------------
|
30
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
31
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
32
|
-
----------------------------------------------------------------------
|
33
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
34
|
-
----------------------------------------------------------------------
|
35
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
36
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37
|
-
------------------------------------------------------------------------------
|
38
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
39
|
-
------------------------------------------------------------------------------
|
40
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
41
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42
|
-
----------------------------------------------------------------------
|
43
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
44
|
-
----------------------------------------------------------------------
|
45
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
46
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
47
|
-
------------------------------------------------------------------------------
|
48
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
49
|
-
------------------------------------------------------------------------------
|
50
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
51
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52
|
-
--------------------------------------
|
53
|
-
CustomUrlHelpersTest: test_direct_urls
|
54
|
-
--------------------------------------
|
55
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
56
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
57
|
-
---------------------------------------
|
58
|
-
CustomUrlHelpersTest: test_direct_paths
|
59
|
-
---------------------------------------
|
60
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
61
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62
|
-
---------------------------------------
|
63
|
-
CustomUrlHelpersTest: test_direct_paths
|
64
|
-
---------------------------------------
|
65
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
66
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
67
|
-
--------------------------------------
|
68
|
-
CustomUrlHelpersTest: test_direct_urls
|
69
|
-
--------------------------------------
|
70
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
71
|
-
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
72
|
-
------------------------------------------------------------------------------
|
73
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
74
|
-
------------------------------------------------------------------------------
|
75
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
76
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
77
|
-
----------------------------------------------------------------------
|
78
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
79
|
-
----------------------------------------------------------------------
|
80
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
81
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
82
|
-
----------------------------------------------------------------------
|
83
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
84
|
-
----------------------------------------------------------------------
|
85
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
86
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87
|
-
--------------------------------------
|
88
|
-
CustomUrlHelpersTest: test_direct_urls
|
89
|
-
--------------------------------------
|
90
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
91
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
92
|
-
------------------------------------------------------------------------------
|
93
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
94
|
-
------------------------------------------------------------------------------
|
95
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
96
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
97
|
-
---------------------------------------
|
98
|
-
CustomUrlHelpersTest: test_direct_paths
|
99
|
-
---------------------------------------
|
100
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
101
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
102
|
-
------------------------------------------------------------------------------
|
103
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
104
|
-
------------------------------------------------------------------------------
|
105
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
106
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
107
|
-
---------------------------------------
|
108
|
-
CustomUrlHelpersTest: test_direct_paths
|
109
|
-
---------------------------------------
|
110
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
111
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
112
|
-
--------------------------------------
|
113
|
-
CustomUrlHelpersTest: test_direct_urls
|
114
|
-
--------------------------------------
|
115
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
116
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
117
|
-
----------------------------------------------------------------------
|
118
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
119
|
-
----------------------------------------------------------------------
|
120
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
121
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
122
|
-
------------------------------------------------------------------------------
|
123
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
124
|
-
------------------------------------------------------------------------------
|
125
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
126
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
127
|
-
---------------------------------------
|
128
|
-
CustomUrlHelpersTest: test_direct_paths
|
129
|
-
---------------------------------------
|
130
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
131
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
132
|
-
----------------------------------------------------------------------
|
133
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
134
|
-
----------------------------------------------------------------------
|
135
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
136
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
137
|
-
--------------------------------------
|
138
|
-
CustomUrlHelpersTest: test_direct_urls
|
139
|
-
--------------------------------------
|
140
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
141
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
142
|
-
--------------------------------------
|
143
|
-
CustomUrlHelpersTest: test_direct_urls
|
144
|
-
--------------------------------------
|
145
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
146
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
147
|
-
----------------------------------------------------------------------
|
148
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
149
|
-
----------------------------------------------------------------------
|
150
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
151
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
152
|
-
------------------------------------------------------------------------------
|
153
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
154
|
-
------------------------------------------------------------------------------
|
155
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
156
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
157
|
-
---------------------------------------
|
158
|
-
CustomUrlHelpersTest: test_direct_paths
|
159
|
-
---------------------------------------
|
160
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
161
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
162
|
-
------------------------------------------------------------------------------
|
163
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
164
|
-
------------------------------------------------------------------------------
|
165
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
166
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
167
|
-
---------------------------------------
|
168
|
-
CustomUrlHelpersTest: test_direct_paths
|
169
|
-
---------------------------------------
|
170
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
171
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
172
|
-
--------------------------------------
|
173
|
-
CustomUrlHelpersTest: test_direct_urls
|
174
|
-
--------------------------------------
|
175
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
176
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
177
|
-
----------------------------------------------------------------------
|
178
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
179
|
-
----------------------------------------------------------------------
|
180
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
181
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
182
|
-
----------------------------------------------------------------------------
|
183
|
-
RoutingTest: test_reloads_routes_when_configuration_is_changed_in_production
|
184
|
-
----------------------------------------------------------------------------
|
185
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
186
|
-
-----------------------------------------------------------------------------
|
187
|
-
RoutingTest: test_reloads_routes_when_configuration_is_changed_in_development
|
188
|
-
-----------------------------------------------------------------------------
|
189
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
190
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
191
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
192
|
-
-------------------------------------------------------------
|
193
|
-
RoutingTest: test_routes_are_added_and_removed_when_reloading
|
194
|
-
-------------------------------------------------------------
|
195
|
-
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
196
|
-
---------------------------------------------------------
|
197
|
-
RoutingTest: test_named_routes_are_cleared_when_reloading
|
198
|
-
---------------------------------------------------------
|
199
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
200
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
201
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
202
|
-
------------------------------------------------------------------------------
|
203
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
204
|
-
------------------------------------------------------------------------------
|
205
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
206
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
207
|
-
--------------------------------------
|
208
|
-
CustomUrlHelpersTest: test_direct_urls
|
209
|
-
--------------------------------------
|
210
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
211
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
212
|
-
---------------------------------------
|
213
|
-
CustomUrlHelpersTest: test_direct_paths
|
214
|
-
---------------------------------------
|
215
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
216
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
217
|
-
----------------------------------------------------------------------
|
218
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
219
|
-
----------------------------------------------------------------------
|
220
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
221
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
222
|
-
------------------------------------------------------------------------------
|
223
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
224
|
-
------------------------------------------------------------------------------
|
225
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
226
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
227
|
-
----------------------------------------------------------------------
|
228
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
229
|
-
----------------------------------------------------------------------
|
230
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
231
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
232
|
-
---------------------------------------
|
233
|
-
CustomUrlHelpersTest: test_direct_paths
|
234
|
-
---------------------------------------
|
235
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
236
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
237
|
-
--------------------------------------
|
238
|
-
CustomUrlHelpersTest: test_direct_urls
|
239
|
-
--------------------------------------
|
240
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
241
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
242
|
-
------------------------------------------------------------------------------
|
243
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
244
|
-
------------------------------------------------------------------------------
|
245
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
246
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
247
|
-
----------------------------------------------------------------------
|
248
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
249
|
-
----------------------------------------------------------------------
|
250
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
251
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
252
|
-
---------------------------------------
|
253
|
-
CustomUrlHelpersTest: test_direct_paths
|
254
|
-
---------------------------------------
|
255
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
256
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
257
|
-
--------------------------------------
|
258
|
-
CustomUrlHelpersTest: test_direct_urls
|
259
|
-
--------------------------------------
|
260
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
261
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
262
|
-
------------------------------------------------------------------------------
|
263
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
264
|
-
------------------------------------------------------------------------------
|
265
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
266
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
267
|
-
---------------------------------------
|
268
|
-
CustomUrlHelpersTest: test_direct_paths
|
269
|
-
---------------------------------------
|
270
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
271
|
-
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
272
|
-
----------------------------------------------------------------------
|
273
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
274
|
-
----------------------------------------------------------------------
|
275
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
276
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
277
|
-
--------------------------------------
|
278
|
-
CustomUrlHelpersTest: test_direct_urls
|
279
|
-
--------------------------------------
|
280
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
281
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
282
|
-
------------------------------------------------------------------------------
|
283
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
284
|
-
------------------------------------------------------------------------------
|
285
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
286
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
287
|
-
----------------------------------------------------------------------
|
288
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
289
|
-
----------------------------------------------------------------------
|
290
|
-
[1m[35m (0.5ms)[0m rollback transaction
|
291
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
292
|
-
---------------------------------------
|
293
|
-
CustomUrlHelpersTest: test_direct_paths
|
294
|
-
---------------------------------------
|
295
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
296
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
297
|
-
--------------------------------------
|
298
|
-
CustomUrlHelpersTest: test_direct_urls
|
299
|
-
--------------------------------------
|
300
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
301
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
302
|
-
------------------------------------------------------------------------------
|
303
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
304
|
-
------------------------------------------------------------------------------
|
305
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
306
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
307
|
-
----------------------------------------------------------------------
|
308
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
309
|
-
----------------------------------------------------------------------
|
310
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
311
|
-
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
312
|
-
---------------------------------------
|
313
|
-
CustomUrlHelpersTest: test_direct_paths
|
314
|
-
---------------------------------------
|
315
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
316
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
317
|
-
--------------------------------------
|
318
|
-
CustomUrlHelpersTest: test_direct_urls
|
319
|
-
--------------------------------------
|
320
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
321
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
322
|
-
------------------------------------------------------------------------------
|
323
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
324
|
-
------------------------------------------------------------------------------
|
325
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
326
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
327
|
-
--------------------------------------
|
328
|
-
CustomUrlHelpersTest: test_direct_urls
|
329
|
-
--------------------------------------
|
330
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
331
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
332
|
-
----------------------------------------------------------------------
|
333
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
334
|
-
----------------------------------------------------------------------
|
335
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
336
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
337
|
-
---------------------------------------
|
338
|
-
CustomUrlHelpersTest: test_direct_paths
|
339
|
-
---------------------------------------
|
340
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
341
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
342
|
-
--------------------------------------
|
343
|
-
CustomUrlHelpersTest: test_direct_urls
|
344
|
-
--------------------------------------
|
345
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
346
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
347
|
-
----------------------------------------------------------------------
|
348
|
-
CustomUrlHelpersTest: test_defining_direct_url_registers_helper_method
|
349
|
-
----------------------------------------------------------------------
|
350
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
351
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
352
|
-
---------------------------------------
|
353
|
-
CustomUrlHelpersTest: test_direct_paths
|
354
|
-
---------------------------------------
|
355
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
356
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
357
|
-
------------------------------------------------------------------------------
|
358
|
-
CustomUrlHelpersTest: test_defining_direct_inside_a_scope_raises_runtime_error
|
359
|
-
------------------------------------------------------------------------------
|
360
|
-
[1m[35m (0.1ms)[0m rollback transaction
|