valid_route 0.0.1 → 0.0.2
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 +4 -4
- data/lib/valid_route/route_validator.rb +13 -7
- data/lib/valid_route/version.rb +1 -1
- data/test/dummy/app/assets/javascripts/namespaced/whizzers.js +2 -0
- data/test/dummy/app/assets/stylesheets/namespaced/whizzers.css +4 -0
- data/test/dummy/app/controllers/namespaced/whizzers_controller.rb +60 -0
- data/test/dummy/app/helpers/namespaced/whizzers_helper.rb +4 -0
- data/test/dummy/app/models/namespaced/whizzer.rb +5 -0
- data/test/dummy/app/models/namespaced.rb +5 -0
- data/test/dummy/app/views/namespaced/whizzers/_form.html.erb +21 -0
- data/test/dummy/app/views/namespaced/whizzers/edit.html.erb +6 -0
- data/test/dummy/app/views/namespaced/whizzers/index.html.erb +27 -0
- data/test/dummy/app/views/namespaced/whizzers/new.html.erb +5 -0
- data/test/dummy/app/views/namespaced/whizzers/show.html.erb +9 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20130515201559_create_namespaced_whizzers.rb +9 -0
- data/test/dummy/db/schema.rb +7 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +230 -0
- data/test/dummy/log/test.log +11652 -22850
- data/test/dummy/test/controllers/namespaced/whizzers_controller_test.rb +51 -0
- data/test/dummy/test/factories/namespaced_whizzers.rb +7 -0
- data/test/dummy/test/helpers/namespaced/whizzers_helper_test.rb +6 -0
- data/test/dummy/test/models/namespaced/whizzer_test.rb +9 -0
- data/test/dummy/test/valid_route/route_formatter_test.rb +5 -0
- data/test/dummy/test/valid_route/route_validator_test.rb +12 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/09256ba0e8264827c3e2c318991b64cd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/120ae5950a11de18f96bf740f106444a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/34d3dd45f6515787f94cd1b673db4076 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3d6a697f5610f9f9e1d5af4ce5c9d618 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/717ea0077fd0f73e5d956e4902250d3a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8733c94f79979ec907253d4bff6714a6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c9f51f5d854353b135800b3f119d5a2f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/caba0b8ace01695be44d327614791326 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cea2000b50dd04cabe48512175515a85 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e1d02a80492905aecbf9091b02015b8a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/efa1d5add14bdd35667da1677327970d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/efbbda72f9bf6e818df8cdbb4ac150b0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/09256ba0e8264827c3e2c318991b64cd +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/120ae5950a11de18f96bf740f106444a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/caba0b8ace01695be44d327614791326 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cea2000b50dd04cabe48512175515a85 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/factories/namespaced_whizzers.rb +8 -0
- metadata +68 -2
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
require 'test_helper'
|
|
2
|
+
|
|
3
|
+
module Namespaced
|
|
4
|
+
class WhizzersControllerTest < ActionController::TestCase
|
|
5
|
+
setup do
|
|
6
|
+
@namespaced_whizzer = FactoryGirl.create(:namespaced_whizzer)
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
test "should get index" do
|
|
10
|
+
get :index
|
|
11
|
+
assert_response :success
|
|
12
|
+
assert_not_nil assigns(:namespaced_whizzers)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
test "should get new" do
|
|
16
|
+
get :new
|
|
17
|
+
assert_response :success
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
test "should create namespaced_whizzer" do
|
|
21
|
+
assert_difference('Namespaced::Whizzer.count') do
|
|
22
|
+
post :create, namespaced_whizzer: { permalink: @namespaced_whizzer.permalink }
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
assert_redirected_to namespaced_whizzer_path(assigns(:namespaced_whizzer))
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
test "should show namespaced_whizzer" do
|
|
29
|
+
get :show, id: @namespaced_whizzer
|
|
30
|
+
assert_response :success
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
test "should get edit" do
|
|
34
|
+
get :edit, id: @namespaced_whizzer
|
|
35
|
+
assert_response :success
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
test "should update namespaced_whizzer" do
|
|
39
|
+
patch :update, id: @namespaced_whizzer, namespaced_whizzer: { permalink: @namespaced_whizzer.permalink }
|
|
40
|
+
assert_redirected_to namespaced_whizzer_path(assigns(:namespaced_whizzer))
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
test "should destroy namespaced_whizzer" do
|
|
44
|
+
assert_difference('Namespaced::Whizzer.count', -1) do
|
|
45
|
+
delete :destroy, id: @namespaced_whizzer
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
assert_redirected_to namespaced_whizzers_path
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
@@ -25,6 +25,11 @@ class RouteFormatterTest < ActionController::TestCase
|
|
|
25
25
|
expected_results.push({:path=>"/others/:id/edit", :verb=>"GET", :reqs=>"others#edit"})
|
|
26
26
|
expected_results.push({:path=>"/others/:id", :verb=>"GET", :reqs=>"others#show"})
|
|
27
27
|
expected_results.push({:path=>"/:id", :verb=>"GET", :reqs=>"others#show"})
|
|
28
|
+
|
|
29
|
+
expected_results.push({:path=>"/namespaced/whizzers", :verb=>"GET", :reqs=>"namespaced/whizzers#index"})
|
|
30
|
+
expected_results.push({:path=>"/namespaced/whizzers/new", :verb=>"GET", :reqs=>"namespaced/whizzers#new"})
|
|
31
|
+
expected_results.push({:path=>"/namespaced/whizzers/:id/edit", :verb=>"GET", :reqs=>"namespaced/whizzers#edit"})
|
|
32
|
+
expected_results.push({:path=>"/namespaced/whizzers/:id", :verb=>"GET", :reqs=>"namespaced/whizzers#show"})
|
|
28
33
|
|
|
29
34
|
|
|
30
35
|
inspector = ActionDispatch::Routing::RoutesInspector.new(Rails.application.routes.routes)
|
|
@@ -31,6 +31,10 @@ class RouteValidatorTest < ActionController::TestCase
|
|
|
31
31
|
|
|
32
32
|
# assert_recognizes {:controller => 'users', :action => 'show', :id => 'vjm'}, '/vjm'
|
|
33
33
|
|
|
34
|
+
assert_routing '/namespaced/whizzers', { :controller => "namespaced/whizzers", :action => "index" }
|
|
35
|
+
assert_routing '/namespaced/whizzers/new', { :controller => "namespaced/whizzers", :action => "new" }
|
|
36
|
+
assert_routing '/namespaced/whizzers/one', { :controller => "namespaced/whizzers", :action => "show", :id => "one" }
|
|
37
|
+
assert_routing '/namespaced/whizzers/one/edit', { :controller => "namespaced/whizzers", :action => "edit", :id => "one" }
|
|
34
38
|
|
|
35
39
|
users_page = FactoryGirl.build(:page, permalink: "users")
|
|
36
40
|
assert !users_page.valid?
|
|
@@ -57,6 +61,14 @@ class RouteValidatorTest < ActionController::TestCase
|
|
|
57
61
|
assert !pages_user.valid?, pages_user.errors.inspect
|
|
58
62
|
assert pages_user.errors.full_messages.include?("Username route is taken"), pages_user.errors.full_messages.inspect
|
|
59
63
|
|
|
64
|
+
pages_user = FactoryGirl.build(:user, username: "namespaced/whizzers")
|
|
65
|
+
assert !pages_user.valid?, pages_user.errors.inspect
|
|
66
|
+
assert pages_user.errors.full_messages.include?("Username route is taken"), pages_user.errors.full_messages.inspect
|
|
67
|
+
|
|
68
|
+
pages_user = FactoryGirl.build(:user, username: "namespaced/whizzers/test")
|
|
69
|
+
assert pages_user.valid?, pages_user.errors.inspect
|
|
70
|
+
|
|
71
|
+
# TODO: add a test for namespaced routes
|
|
60
72
|
|
|
61
73
|
|
|
62
74
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: valid_route
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vince Montalbano
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-05-
|
|
11
|
+
date: 2013-05-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -97,10 +97,12 @@ files:
|
|
|
97
97
|
- MIT-LICENSE
|
|
98
98
|
- Rakefile
|
|
99
99
|
- test/dummy/app/assets/javascripts/application.js
|
|
100
|
+
- test/dummy/app/assets/javascripts/namespaced/whizzers.js
|
|
100
101
|
- test/dummy/app/assets/javascripts/others.js
|
|
101
102
|
- test/dummy/app/assets/javascripts/pages.js
|
|
102
103
|
- test/dummy/app/assets/javascripts/users.js
|
|
103
104
|
- test/dummy/app/assets/stylesheets/application.css
|
|
105
|
+
- test/dummy/app/assets/stylesheets/namespaced/whizzers.css
|
|
104
106
|
- test/dummy/app/assets/stylesheets/others.css
|
|
105
107
|
- test/dummy/app/assets/stylesheets/pages.css
|
|
106
108
|
- test/dummy/app/assets/stylesheets/scaffold.css
|
|
@@ -108,17 +110,26 @@ files:
|
|
|
108
110
|
- test/dummy/app/constraints/page_constraint.rb
|
|
109
111
|
- test/dummy/app/constraints/user_constraint.rb
|
|
110
112
|
- test/dummy/app/controllers/application_controller.rb
|
|
113
|
+
- test/dummy/app/controllers/namespaced/whizzers_controller.rb
|
|
111
114
|
- test/dummy/app/controllers/others_controller.rb
|
|
112
115
|
- test/dummy/app/controllers/pages_controller.rb
|
|
113
116
|
- test/dummy/app/controllers/users_controller.rb
|
|
114
117
|
- test/dummy/app/helpers/application_helper.rb
|
|
118
|
+
- test/dummy/app/helpers/namespaced/whizzers_helper.rb
|
|
115
119
|
- test/dummy/app/helpers/others_helper.rb
|
|
116
120
|
- test/dummy/app/helpers/pages_helper.rb
|
|
117
121
|
- test/dummy/app/helpers/users_helper.rb
|
|
122
|
+
- test/dummy/app/models/namespaced/whizzer.rb
|
|
123
|
+
- test/dummy/app/models/namespaced.rb
|
|
118
124
|
- test/dummy/app/models/other.rb
|
|
119
125
|
- test/dummy/app/models/page.rb
|
|
120
126
|
- test/dummy/app/models/user.rb
|
|
121
127
|
- test/dummy/app/views/layouts/application.html.erb
|
|
128
|
+
- test/dummy/app/views/namespaced/whizzers/_form.html.erb
|
|
129
|
+
- test/dummy/app/views/namespaced/whizzers/edit.html.erb
|
|
130
|
+
- test/dummy/app/views/namespaced/whizzers/index.html.erb
|
|
131
|
+
- test/dummy/app/views/namespaced/whizzers/new.html.erb
|
|
132
|
+
- test/dummy/app/views/namespaced/whizzers/show.html.erb
|
|
122
133
|
- test/dummy/app/views/others/_form.html.erb
|
|
123
134
|
- test/dummy/app/views/others/edit.html.erb
|
|
124
135
|
- test/dummy/app/views/others/index.html.erb
|
|
@@ -158,6 +169,7 @@ files:
|
|
|
158
169
|
- test/dummy/db/migrate/20130504204336_create_pages.rb
|
|
159
170
|
- test/dummy/db/migrate/20130505171048_create_users.rb
|
|
160
171
|
- test/dummy/db/migrate/20130513145529_create_others.rb
|
|
172
|
+
- test/dummy/db/migrate/20130515201559_create_namespaced_whizzers.rb
|
|
161
173
|
- test/dummy/db/schema.rb
|
|
162
174
|
- test/dummy/db/seeds.rb
|
|
163
175
|
- test/dummy/db/test.sqlite3
|
|
@@ -169,12 +181,16 @@ files:
|
|
|
169
181
|
- test/dummy/public/favicon.ico
|
|
170
182
|
- test/dummy/Rakefile
|
|
171
183
|
- test/dummy/README.rdoc
|
|
184
|
+
- test/dummy/test/controllers/namespaced/whizzers_controller_test.rb
|
|
172
185
|
- test/dummy/test/controllers/others_controller_test.rb
|
|
173
186
|
- test/dummy/test/controllers/pages_controller_test.rb
|
|
174
187
|
- test/dummy/test/controllers/users_controller_test.rb
|
|
188
|
+
- test/dummy/test/factories/namespaced_whizzers.rb
|
|
189
|
+
- test/dummy/test/helpers/namespaced/whizzers_helper_test.rb
|
|
175
190
|
- test/dummy/test/helpers/others_helper_test.rb
|
|
176
191
|
- test/dummy/test/helpers/pages_helper_test.rb
|
|
177
192
|
- test/dummy/test/helpers/users_helper_test.rb
|
|
193
|
+
- test/dummy/test/models/namespaced/whizzer_test.rb
|
|
178
194
|
- test/dummy/test/models/other_test.rb
|
|
179
195
|
- test/dummy/test/models/page_test.rb
|
|
180
196
|
- test/dummy/test/models/user_test.rb
|
|
@@ -182,32 +198,46 @@ files:
|
|
|
182
198
|
- test/dummy/test/valid_route/route_validator_test.rb
|
|
183
199
|
- test/dummy/tmp/cache/assets/development/sprockets/0204daa608dcc3d6010d17d5a3325dae
|
|
184
200
|
- test/dummy/tmp/cache/assets/development/sprockets/0800f54ee19cf3cee10b956fa9786799
|
|
201
|
+
- test/dummy/tmp/cache/assets/development/sprockets/09256ba0e8264827c3e2c318991b64cd
|
|
185
202
|
- test/dummy/tmp/cache/assets/development/sprockets/0f1e224003d74d132651ab92f55c07cd
|
|
203
|
+
- test/dummy/tmp/cache/assets/development/sprockets/120ae5950a11de18f96bf740f106444a
|
|
186
204
|
- test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
|
187
205
|
- test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
|
206
|
+
- test/dummy/tmp/cache/assets/development/sprockets/34d3dd45f6515787f94cd1b673db4076
|
|
188
207
|
- test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
|
189
208
|
- test/dummy/tmp/cache/assets/development/sprockets/36a0c7121af098cc05c1eb1e9b05c6fc
|
|
190
209
|
- test/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212
|
|
210
|
+
- test/dummy/tmp/cache/assets/development/sprockets/3d6a697f5610f9f9e1d5af4ce5c9d618
|
|
191
211
|
- test/dummy/tmp/cache/assets/development/sprockets/4050a4e5062ab95c9f32e9b6940821ea
|
|
192
212
|
- test/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5
|
|
193
213
|
- test/dummy/tmp/cache/assets/development/sprockets/58e369b37e5157ea746a485eea17e9f7
|
|
194
214
|
- test/dummy/tmp/cache/assets/development/sprockets/5f1a0d05e77ca8b9a1fc2a47e17a8174
|
|
195
215
|
- test/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2
|
|
196
216
|
- test/dummy/tmp/cache/assets/development/sprockets/7162e1034189ecdac520608cf2d65859
|
|
217
|
+
- test/dummy/tmp/cache/assets/development/sprockets/717ea0077fd0f73e5d956e4902250d3a
|
|
197
218
|
- test/dummy/tmp/cache/assets/development/sprockets/7ae10239eda2588a95fdcc7d871bef52
|
|
219
|
+
- test/dummy/tmp/cache/assets/development/sprockets/8733c94f79979ec907253d4bff6714a6
|
|
198
220
|
- test/dummy/tmp/cache/assets/development/sprockets/87b209c0c9da28094a8d5581a21262c6
|
|
199
221
|
- test/dummy/tmp/cache/assets/development/sprockets/8d5d60255600aa010a32e1d1a9bc6db6
|
|
200
222
|
- test/dummy/tmp/cache/assets/development/sprockets/b3d9b0e88cdded276ebdce333e338a85
|
|
223
|
+
- test/dummy/tmp/cache/assets/development/sprockets/c9f51f5d854353b135800b3f119d5a2f
|
|
224
|
+
- test/dummy/tmp/cache/assets/development/sprockets/caba0b8ace01695be44d327614791326
|
|
225
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cea2000b50dd04cabe48512175515a85
|
|
201
226
|
- test/dummy/tmp/cache/assets/development/sprockets/cebc6db0bbb8120f430da3970b173d2f
|
|
202
227
|
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
|
203
228
|
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
|
204
229
|
- test/dummy/tmp/cache/assets/development/sprockets/dd4918aca468e2fe7bf61814631a1758
|
|
230
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e1d02a80492905aecbf9091b02015b8a
|
|
205
231
|
- test/dummy/tmp/cache/assets/development/sprockets/ebb095504f281d4e6bc39c4e574e25b2
|
|
232
|
+
- test/dummy/tmp/cache/assets/development/sprockets/efa1d5add14bdd35667da1677327970d
|
|
233
|
+
- test/dummy/tmp/cache/assets/development/sprockets/efbbda72f9bf6e818df8cdbb4ac150b0
|
|
206
234
|
- test/dummy/tmp/cache/assets/development/sprockets/f56253b5f374fff1a33fbbc9881c9124
|
|
207
235
|
- test/dummy/tmp/cache/assets/development/sprockets/f576841f662770908b35e6951e6900dd
|
|
208
236
|
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
|
209
237
|
- test/dummy/tmp/cache/assets/development/sprockets/ff05efaf31ab618d1eae2cd81fe67315
|
|
210
238
|
- test/dummy/tmp/cache/assets/test/sprockets/0204daa608dcc3d6010d17d5a3325dae
|
|
239
|
+
- test/dummy/tmp/cache/assets/test/sprockets/09256ba0e8264827c3e2c318991b64cd
|
|
240
|
+
- test/dummy/tmp/cache/assets/test/sprockets/120ae5950a11de18f96bf740f106444a
|
|
211
241
|
- test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
|
212
242
|
- test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
|
213
243
|
- test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
|
|
@@ -225,12 +255,15 @@ files:
|
|
|
225
255
|
- test/dummy/tmp/cache/assets/test/sprockets/8d5d60255600aa010a32e1d1a9bc6db6
|
|
226
256
|
- test/dummy/tmp/cache/assets/test/sprockets/b3d9b0e88cdded276ebdce333e338a85
|
|
227
257
|
- test/dummy/tmp/cache/assets/test/sprockets/c9f51f5d854353b135800b3f119d5a2f
|
|
258
|
+
- test/dummy/tmp/cache/assets/test/sprockets/caba0b8ace01695be44d327614791326
|
|
259
|
+
- test/dummy/tmp/cache/assets/test/sprockets/cea2000b50dd04cabe48512175515a85
|
|
228
260
|
- test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
|
229
261
|
- test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
|
230
262
|
- test/dummy/tmp/cache/assets/test/sprockets/f56253b5f374fff1a33fbbc9881c9124
|
|
231
263
|
- test/dummy/tmp/cache/assets/test/sprockets/f576841f662770908b35e6951e6900dd
|
|
232
264
|
- test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
|
233
265
|
- test/dummy/tmp/cache/assets/test/sprockets/ff05efaf31ab618d1eae2cd81fe67315
|
|
266
|
+
- test/factories/namespaced_whizzers.rb
|
|
234
267
|
- test/factories/others.rb
|
|
235
268
|
- test/factories/pages.rb
|
|
236
269
|
- test/factories/users.rb
|
|
@@ -261,10 +294,12 @@ specification_version: 4
|
|
|
261
294
|
summary: Ensure that your routes don't conflict
|
|
262
295
|
test_files:
|
|
263
296
|
- test/dummy/app/assets/javascripts/application.js
|
|
297
|
+
- test/dummy/app/assets/javascripts/namespaced/whizzers.js
|
|
264
298
|
- test/dummy/app/assets/javascripts/others.js
|
|
265
299
|
- test/dummy/app/assets/javascripts/pages.js
|
|
266
300
|
- test/dummy/app/assets/javascripts/users.js
|
|
267
301
|
- test/dummy/app/assets/stylesheets/application.css
|
|
302
|
+
- test/dummy/app/assets/stylesheets/namespaced/whizzers.css
|
|
268
303
|
- test/dummy/app/assets/stylesheets/others.css
|
|
269
304
|
- test/dummy/app/assets/stylesheets/pages.css
|
|
270
305
|
- test/dummy/app/assets/stylesheets/scaffold.css
|
|
@@ -272,17 +307,26 @@ test_files:
|
|
|
272
307
|
- test/dummy/app/constraints/page_constraint.rb
|
|
273
308
|
- test/dummy/app/constraints/user_constraint.rb
|
|
274
309
|
- test/dummy/app/controllers/application_controller.rb
|
|
310
|
+
- test/dummy/app/controllers/namespaced/whizzers_controller.rb
|
|
275
311
|
- test/dummy/app/controllers/others_controller.rb
|
|
276
312
|
- test/dummy/app/controllers/pages_controller.rb
|
|
277
313
|
- test/dummy/app/controllers/users_controller.rb
|
|
278
314
|
- test/dummy/app/helpers/application_helper.rb
|
|
315
|
+
- test/dummy/app/helpers/namespaced/whizzers_helper.rb
|
|
279
316
|
- test/dummy/app/helpers/others_helper.rb
|
|
280
317
|
- test/dummy/app/helpers/pages_helper.rb
|
|
281
318
|
- test/dummy/app/helpers/users_helper.rb
|
|
319
|
+
- test/dummy/app/models/namespaced/whizzer.rb
|
|
320
|
+
- test/dummy/app/models/namespaced.rb
|
|
282
321
|
- test/dummy/app/models/other.rb
|
|
283
322
|
- test/dummy/app/models/page.rb
|
|
284
323
|
- test/dummy/app/models/user.rb
|
|
285
324
|
- test/dummy/app/views/layouts/application.html.erb
|
|
325
|
+
- test/dummy/app/views/namespaced/whizzers/_form.html.erb
|
|
326
|
+
- test/dummy/app/views/namespaced/whizzers/edit.html.erb
|
|
327
|
+
- test/dummy/app/views/namespaced/whizzers/index.html.erb
|
|
328
|
+
- test/dummy/app/views/namespaced/whizzers/new.html.erb
|
|
329
|
+
- test/dummy/app/views/namespaced/whizzers/show.html.erb
|
|
286
330
|
- test/dummy/app/views/others/_form.html.erb
|
|
287
331
|
- test/dummy/app/views/others/edit.html.erb
|
|
288
332
|
- test/dummy/app/views/others/index.html.erb
|
|
@@ -322,6 +366,7 @@ test_files:
|
|
|
322
366
|
- test/dummy/db/migrate/20130504204336_create_pages.rb
|
|
323
367
|
- test/dummy/db/migrate/20130505171048_create_users.rb
|
|
324
368
|
- test/dummy/db/migrate/20130513145529_create_others.rb
|
|
369
|
+
- test/dummy/db/migrate/20130515201559_create_namespaced_whizzers.rb
|
|
325
370
|
- test/dummy/db/schema.rb
|
|
326
371
|
- test/dummy/db/seeds.rb
|
|
327
372
|
- test/dummy/db/test.sqlite3
|
|
@@ -333,12 +378,16 @@ test_files:
|
|
|
333
378
|
- test/dummy/public/favicon.ico
|
|
334
379
|
- test/dummy/Rakefile
|
|
335
380
|
- test/dummy/README.rdoc
|
|
381
|
+
- test/dummy/test/controllers/namespaced/whizzers_controller_test.rb
|
|
336
382
|
- test/dummy/test/controllers/others_controller_test.rb
|
|
337
383
|
- test/dummy/test/controllers/pages_controller_test.rb
|
|
338
384
|
- test/dummy/test/controllers/users_controller_test.rb
|
|
385
|
+
- test/dummy/test/factories/namespaced_whizzers.rb
|
|
386
|
+
- test/dummy/test/helpers/namespaced/whizzers_helper_test.rb
|
|
339
387
|
- test/dummy/test/helpers/others_helper_test.rb
|
|
340
388
|
- test/dummy/test/helpers/pages_helper_test.rb
|
|
341
389
|
- test/dummy/test/helpers/users_helper_test.rb
|
|
390
|
+
- test/dummy/test/models/namespaced/whizzer_test.rb
|
|
342
391
|
- test/dummy/test/models/other_test.rb
|
|
343
392
|
- test/dummy/test/models/page_test.rb
|
|
344
393
|
- test/dummy/test/models/user_test.rb
|
|
@@ -346,32 +395,46 @@ test_files:
|
|
|
346
395
|
- test/dummy/test/valid_route/route_validator_test.rb
|
|
347
396
|
- test/dummy/tmp/cache/assets/development/sprockets/0204daa608dcc3d6010d17d5a3325dae
|
|
348
397
|
- test/dummy/tmp/cache/assets/development/sprockets/0800f54ee19cf3cee10b956fa9786799
|
|
398
|
+
- test/dummy/tmp/cache/assets/development/sprockets/09256ba0e8264827c3e2c318991b64cd
|
|
349
399
|
- test/dummy/tmp/cache/assets/development/sprockets/0f1e224003d74d132651ab92f55c07cd
|
|
400
|
+
- test/dummy/tmp/cache/assets/development/sprockets/120ae5950a11de18f96bf740f106444a
|
|
350
401
|
- test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
|
351
402
|
- test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
|
403
|
+
- test/dummy/tmp/cache/assets/development/sprockets/34d3dd45f6515787f94cd1b673db4076
|
|
352
404
|
- test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
|
353
405
|
- test/dummy/tmp/cache/assets/development/sprockets/36a0c7121af098cc05c1eb1e9b05c6fc
|
|
354
406
|
- test/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212
|
|
407
|
+
- test/dummy/tmp/cache/assets/development/sprockets/3d6a697f5610f9f9e1d5af4ce5c9d618
|
|
355
408
|
- test/dummy/tmp/cache/assets/development/sprockets/4050a4e5062ab95c9f32e9b6940821ea
|
|
356
409
|
- test/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5
|
|
357
410
|
- test/dummy/tmp/cache/assets/development/sprockets/58e369b37e5157ea746a485eea17e9f7
|
|
358
411
|
- test/dummy/tmp/cache/assets/development/sprockets/5f1a0d05e77ca8b9a1fc2a47e17a8174
|
|
359
412
|
- test/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2
|
|
360
413
|
- test/dummy/tmp/cache/assets/development/sprockets/7162e1034189ecdac520608cf2d65859
|
|
414
|
+
- test/dummy/tmp/cache/assets/development/sprockets/717ea0077fd0f73e5d956e4902250d3a
|
|
361
415
|
- test/dummy/tmp/cache/assets/development/sprockets/7ae10239eda2588a95fdcc7d871bef52
|
|
416
|
+
- test/dummy/tmp/cache/assets/development/sprockets/8733c94f79979ec907253d4bff6714a6
|
|
362
417
|
- test/dummy/tmp/cache/assets/development/sprockets/87b209c0c9da28094a8d5581a21262c6
|
|
363
418
|
- test/dummy/tmp/cache/assets/development/sprockets/8d5d60255600aa010a32e1d1a9bc6db6
|
|
364
419
|
- test/dummy/tmp/cache/assets/development/sprockets/b3d9b0e88cdded276ebdce333e338a85
|
|
420
|
+
- test/dummy/tmp/cache/assets/development/sprockets/c9f51f5d854353b135800b3f119d5a2f
|
|
421
|
+
- test/dummy/tmp/cache/assets/development/sprockets/caba0b8ace01695be44d327614791326
|
|
422
|
+
- test/dummy/tmp/cache/assets/development/sprockets/cea2000b50dd04cabe48512175515a85
|
|
365
423
|
- test/dummy/tmp/cache/assets/development/sprockets/cebc6db0bbb8120f430da3970b173d2f
|
|
366
424
|
- test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
|
367
425
|
- test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
|
368
426
|
- test/dummy/tmp/cache/assets/development/sprockets/dd4918aca468e2fe7bf61814631a1758
|
|
427
|
+
- test/dummy/tmp/cache/assets/development/sprockets/e1d02a80492905aecbf9091b02015b8a
|
|
369
428
|
- test/dummy/tmp/cache/assets/development/sprockets/ebb095504f281d4e6bc39c4e574e25b2
|
|
429
|
+
- test/dummy/tmp/cache/assets/development/sprockets/efa1d5add14bdd35667da1677327970d
|
|
430
|
+
- test/dummy/tmp/cache/assets/development/sprockets/efbbda72f9bf6e818df8cdbb4ac150b0
|
|
370
431
|
- test/dummy/tmp/cache/assets/development/sprockets/f56253b5f374fff1a33fbbc9881c9124
|
|
371
432
|
- test/dummy/tmp/cache/assets/development/sprockets/f576841f662770908b35e6951e6900dd
|
|
372
433
|
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
|
373
434
|
- test/dummy/tmp/cache/assets/development/sprockets/ff05efaf31ab618d1eae2cd81fe67315
|
|
374
435
|
- test/dummy/tmp/cache/assets/test/sprockets/0204daa608dcc3d6010d17d5a3325dae
|
|
436
|
+
- test/dummy/tmp/cache/assets/test/sprockets/09256ba0e8264827c3e2c318991b64cd
|
|
437
|
+
- test/dummy/tmp/cache/assets/test/sprockets/120ae5950a11de18f96bf740f106444a
|
|
375
438
|
- test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
|
376
439
|
- test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
|
377
440
|
- test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
|
|
@@ -389,12 +452,15 @@ test_files:
|
|
|
389
452
|
- test/dummy/tmp/cache/assets/test/sprockets/8d5d60255600aa010a32e1d1a9bc6db6
|
|
390
453
|
- test/dummy/tmp/cache/assets/test/sprockets/b3d9b0e88cdded276ebdce333e338a85
|
|
391
454
|
- test/dummy/tmp/cache/assets/test/sprockets/c9f51f5d854353b135800b3f119d5a2f
|
|
455
|
+
- test/dummy/tmp/cache/assets/test/sprockets/caba0b8ace01695be44d327614791326
|
|
456
|
+
- test/dummy/tmp/cache/assets/test/sprockets/cea2000b50dd04cabe48512175515a85
|
|
392
457
|
- test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
|
393
458
|
- test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
|
394
459
|
- test/dummy/tmp/cache/assets/test/sprockets/f56253b5f374fff1a33fbbc9881c9124
|
|
395
460
|
- test/dummy/tmp/cache/assets/test/sprockets/f576841f662770908b35e6951e6900dd
|
|
396
461
|
- test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
|
397
462
|
- test/dummy/tmp/cache/assets/test/sprockets/ff05efaf31ab618d1eae2cd81fe67315
|
|
463
|
+
- test/factories/namespaced_whizzers.rb
|
|
398
464
|
- test/factories/others.rb
|
|
399
465
|
- test/factories/pages.rb
|
|
400
466
|
- test/factories/users.rb
|