admin_bits 0.4.0

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.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +20 -0
  3. data/LICENSE +165 -0
  4. data/README.md +19 -0
  5. data/Rakefile +33 -0
  6. data/lib/admin_bits.rb +50 -0
  7. data/lib/admin_bits/admin_resource.rb +96 -0
  8. data/lib/admin_bits/admin_resource/paginator.rb +14 -0
  9. data/lib/admin_bits/admin_resource/path_handler.rb +34 -0
  10. data/lib/admin_bits/base_config.rb +38 -0
  11. data/lib/admin_bits/engine.rb +4 -0
  12. data/lib/admin_bits/helpers.rb +44 -0
  13. data/lib/admin_bits/scopes.rb +52 -0
  14. data/lib/admin_bits/utils.rb +16 -0
  15. data/lib/generators/admin_bits_generator.rb +52 -0
  16. data/lib/generators/templates/controller.rb.erb +35 -0
  17. data/lib/generators/templates/index.html.erb +0 -0
  18. data/lib/generators/templates/layout.html.erb +3 -0
  19. data/test/admin_bits_test.rb +7 -0
  20. data/test/dummy/Rakefile +7 -0
  21. data/test/dummy/app/assets/stylesheets/admin_bits.css +0 -0
  22. data/test/dummy/app/controllers/admin/items_controller.rb +40 -0
  23. data/test/dummy/app/controllers/application_controller.rb +3 -0
  24. data/test/dummy/app/helpers/application_helper.rb +2 -0
  25. data/test/dummy/app/models/basic_admin_panel.rb +65 -0
  26. data/test/dummy/app/models/item.rb +7 -0
  27. data/test/dummy/app/views/admin/items/index.html.erb +30 -0
  28. data/test/dummy/app/views/admin_bits_modules/basic_admin_panel/edit.html.erb +4 -0
  29. data/test/dummy/app/views/admin_bits_modules/basic_admin_panel/index.html.erb +30 -0
  30. data/test/dummy/app/views/layouts/admin_bits_modules/basic_admin_panel/layout.html.erb +13 -0
  31. data/test/dummy/config.ru +4 -0
  32. data/test/dummy/config/application.rb +45 -0
  33. data/test/dummy/config/boot.rb +10 -0
  34. data/test/dummy/config/database.yml +22 -0
  35. data/test/dummy/config/environment.rb +5 -0
  36. data/test/dummy/config/environments/development.rb +27 -0
  37. data/test/dummy/config/environments/production.rb +50 -0
  38. data/test/dummy/config/environments/test.rb +36 -0
  39. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  40. data/test/dummy/config/initializers/inflections.rb +10 -0
  41. data/test/dummy/config/initializers/mime_types.rb +5 -0
  42. data/test/dummy/config/initializers/secret_token.rb +7 -0
  43. data/test/dummy/config/initializers/session_store.rb +8 -0
  44. data/test/dummy/config/locales/en.yml +5 -0
  45. data/test/dummy/config/routes.rb +57 -0
  46. data/test/dummy/db/development.sqlite3 +0 -0
  47. data/test/dummy/db/migrate/20131110141830_create_items.rb +15 -0
  48. data/test/dummy/db/schema.rb +25 -0
  49. data/test/dummy/db/test.sqlite3 +0 -0
  50. data/test/dummy/log/development.log +2368 -0
  51. data/test/dummy/log/test.log +672 -0
  52. data/test/dummy/public/404.html +26 -0
  53. data/test/dummy/public/422.html +26 -0
  54. data/test/dummy/public/500.html +26 -0
  55. data/test/dummy/public/favicon.ico +0 -0
  56. data/test/dummy/public/javascripts/application.js +2 -0
  57. data/test/dummy/public/javascripts/controls.js +965 -0
  58. data/test/dummy/public/javascripts/dragdrop.js +974 -0
  59. data/test/dummy/public/javascripts/effects.js +1123 -0
  60. data/test/dummy/public/javascripts/prototype.js +6001 -0
  61. data/test/dummy/public/javascripts/rails.js +202 -0
  62. data/test/dummy/script/rails +6 -0
  63. data/test/integration/ordering_test.rb +14 -0
  64. data/test/support/integration_case.rb +5 -0
  65. data/test/test_helper.rb +22 -0
  66. data/test/unit/path_handler_test.rb +17 -0
  67. data/test/unit/sorting_test.rb +49 -0
  68. metadata +123 -0
@@ -0,0 +1,672 @@
1
+ SQL (0.6ms)  SELECT name
2
+ FROM sqlite_master
3
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
4
+ 
5
+ SQL (0.1ms) select sqlite_version(*)
6
+ SQL (21.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7
+ SQL (0.2ms) PRAGMA index_list("schema_migrations")
8
+ SQL (17.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
9
+ SQL (0.4ms) SELECT name
10
+ FROM sqlite_master
11
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
12
+ SQL (0.3ms)  SELECT name
13
+ FROM sqlite_master
14
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
15
+ 
16
+ SQL (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
17
+ Migrating to CreateItems (20131110141830)
18
+ SQL (1.0ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "price" decimal, "description" text, "order_id" integer, "created_at" datetime, "updated_at" datetime) 
19
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131110141830')
20
+
21
+
22
+ Started GET "/admin/items" for 127.0.0.1 at 2014-10-14 16:46:15 +0200
23
+ Processing by Admin::ItemsController#index as HTML
24
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
25
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (12.9ms)
26
+ Completed 500 Internal Server Error in 15ms
27
+
28
+
29
+ Started GET "/admin/items" for 127.0.0.1 at 2014-10-14 16:46:16 +0200
30
+ Processing by Admin::ItemsController#index as HTML
31
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
32
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (2.4ms)
33
+ Completed 500 Internal Server Error in 3ms
34
+ SQL (0.4ms)  SELECT name
35
+ FROM sqlite_master
36
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
37
+ 
38
+ SQL (0.1ms) SELECT name
39
+ FROM sqlite_master
40
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
41
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
42
+ Migrating to CreateItems (20131110141830)
43
+
44
+
45
+ Started GET "/admin/items" for 127.0.0.1 at 2014-10-28 12:08:28 +0100
46
+ Processing by Admin::ItemsController#index as HTML
47
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
48
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (13.4ms)
49
+ Completed 500 Internal Server Error in 16ms
50
+
51
+
52
+ Started GET "/admin/items" for 127.0.0.1 at 2014-10-28 12:08:28 +0100
53
+ Processing by Admin::ItemsController#index as HTML
54
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
55
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (3.4ms)
56
+ Completed 500 Internal Server Error in 5ms
57
+ SQL (0.4ms)  SELECT name
58
+ FROM sqlite_master
59
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
60
+ 
61
+ SQL (0.1ms) SELECT name
62
+ FROM sqlite_master
63
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
64
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
65
+ Migrating to CreateItems (20131110141830)
66
+
67
+
68
+ Started GET "/admin/items" for 127.0.0.1 at 2014-10-28 12:08:38 +0100
69
+ Processing by Admin::ItemsController#index as HTML
70
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
71
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (11.7ms)
72
+ Completed 500 Internal Server Error in 14ms
73
+
74
+
75
+ Started GET "/admin/items" for 127.0.0.1 at 2014-10-28 12:08:38 +0100
76
+ Processing by Admin::ItemsController#index as HTML
77
+ Item Load (0.7ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
78
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (5.5ms)
79
+ Completed 500 Internal Server Error in 7ms
80
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
81
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
82
+  (0.1ms) begin transaction
83
+ -------------------------
84
+ AdminBitsTest: test_truth
85
+ -------------------------
86
+  (0.0ms) rollback transaction
87
+  (0.0ms) begin transaction
88
+ -------------------------------------------------------------------------
89
+ SortingTest: test_one_can_set_order_column_&_direction_other_than_default
90
+ -------------------------------------------------------------------------
91
+  (0.1ms) rollback transaction
92
+  (0.1ms) begin transaction
93
+ -----------------------------------------------------
94
+ SortingTest: test_one_can_sort_using_multiple_columns
95
+ -----------------------------------------------------
96
+  (0.1ms) rollback transaction
97
+  (0.0ms) begin transaction
98
+ --------------------------------------------------------------------------------------
99
+ SortingTest: test_there_should_be_no_default_order_specified,_but_it_should_still_work
100
+ --------------------------------------------------------------------------------------
101
+  (0.1ms) rollback transaction
102
+  (0.1ms) begin transaction
103
+ --------------------------------------------
104
+ OrderingTest: test_I_can_easily_change_order
105
+ --------------------------------------------
106
+ Started GET "/admin/items" for 127.0.0.1 at 2014-10-28 13:34:41 +0100
107
+ Processing by Admin::ItemsController#index as HTML
108
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (4.3ms)
109
+ Completed 500 Internal Server Error in 7ms
110
+  (0.1ms) rollback transaction
111
+  (0.1ms) begin transaction
112
+ --------------------------------------------------------
113
+ OrderingTest: test_I_can_see_default_DESC_order_on_PRICE
114
+ --------------------------------------------------------
115
+ Started GET "/admin/items" for 127.0.0.1 at 2014-10-28 13:34:41 +0100
116
+ Processing by Admin::ItemsController#index as HTML
117
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (2.3ms)
118
+ Completed 500 Internal Server Error in 3ms
119
+  (0.1ms) rollback transaction
120
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
121
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
122
+  (0.1ms) begin transaction
123
+ --------------------------------------------
124
+ OrderingTest: test_I_can_easily_change_order
125
+ --------------------------------------------
126
+ Started GET "/admin/items" for 127.0.0.1 at 2014-10-28 13:35:50 +0100
127
+ Processing by Admin::ItemsController#index as HTML
128
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (4.9ms)
129
+ Completed 500 Internal Server Error in 7ms
130
+  (0.1ms) rollback transaction
131
+  (0.1ms) begin transaction
132
+ --------------------------------------------------------
133
+ OrderingTest: test_I_can_see_default_DESC_order_on_PRICE
134
+ --------------------------------------------------------
135
+ Started GET "/admin/items" for 127.0.0.1 at 2014-10-28 13:35:50 +0100
136
+ Processing by Admin::ItemsController#index as HTML
137
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (2.2ms)
138
+ Completed 500 Internal Server Error in 3ms
139
+  (0.1ms) rollback transaction
140
+  (0.1ms) begin transaction
141
+ -------------------------------------------------------------------------
142
+ SortingTest: test_one_can_set_order_column_&_direction_other_than_default
143
+ -------------------------------------------------------------------------
144
+  (0.1ms) rollback transaction
145
+  (0.0ms) begin transaction
146
+ -----------------------------------------------------
147
+ SortingTest: test_one_can_sort_using_multiple_columns
148
+ -----------------------------------------------------
149
+  (0.3ms) rollback transaction
150
+  (0.2ms) begin transaction
151
+ --------------------------------------------------------------------------------------
152
+ SortingTest: test_there_should_be_no_default_order_specified,_but_it_should_still_work
153
+ --------------------------------------------------------------------------------------
154
+  (0.1ms) rollback transaction
155
+  (0.0ms) begin transaction
156
+ -------------------------
157
+ AdminBitsTest: test_truth
158
+ -------------------------
159
+  (0.0ms) rollback transaction
160
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
161
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
162
+  (0.1ms) begin transaction
163
+ -------------------------------------------------------------------------
164
+ SortingTest: test_one_can_set_order_column_&_direction_other_than_default
165
+ -------------------------------------------------------------------------
166
+  (0.1ms) rollback transaction
167
+  (0.0ms) begin transaction
168
+ -----------------------------------------------------
169
+ SortingTest: test_one_can_sort_using_multiple_columns
170
+ -----------------------------------------------------
171
+  (0.1ms) rollback transaction
172
+  (0.0ms) begin transaction
173
+ --------------------------------------------------------------------------------------
174
+ SortingTest: test_there_should_be_no_default_order_specified,_but_it_should_still_work
175
+ --------------------------------------------------------------------------------------
176
+  (0.1ms) rollback transaction
177
+  (0.1ms) begin transaction
178
+ -------------------------
179
+ AdminBitsTest: test_truth
180
+ -------------------------
181
+  (0.0ms) rollback transaction
182
+  (0.3ms) begin transaction
183
+ --------------------------------------------
184
+ OrderingTest: test_I_can_easily_change_order
185
+ --------------------------------------------
186
+ Started GET "/admin/items" for 127.0.0.1 at 2014-10-28 13:36:16 +0100
187
+ Processing by Admin::ItemsController#index as HTML
188
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
189
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (4.5ms)
190
+ Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.2ms)
191
+ Started GET "/admin/items?asc=true&order=price" for 127.0.0.1 at 2014-10-28 13:36:16 +0100
192
+ Processing by Admin::ItemsController#index as HTML
193
+ Parameters: {"asc"=>"true", "order"=>"price"}
194
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price ASC LIMIT 25 OFFSET 0
195
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (2.4ms)
196
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)
197
+  (0.1ms) rollback transaction
198
+  (0.0ms) begin transaction
199
+ --------------------------------------------------------
200
+ OrderingTest: test_I_can_see_default_DESC_order_on_PRICE
201
+ --------------------------------------------------------
202
+ Started GET "/admin/items" for 127.0.0.1 at 2014-10-28 13:36:16 +0100
203
+ Processing by Admin::ItemsController#index as HTML
204
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
205
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (2.4ms)
206
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.2ms)
207
+  (0.1ms) rollback transaction
208
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
209
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
210
+  (0.1ms) begin transaction
211
+ -------------------------
212
+ AdminBitsTest: test_truth
213
+ -------------------------
214
+  (0.0ms) rollback transaction
215
+  (0.1ms) begin transaction
216
+ -------------------------------------------------------------------------
217
+ SortingTest: test_one_can_set_order_column_&_direction_other_than_default
218
+ -------------------------------------------------------------------------
219
+  (0.1ms) rollback transaction
220
+  (0.0ms) begin transaction
221
+ -----------------------------------------------------
222
+ SortingTest: test_one_can_sort_using_multiple_columns
223
+ -----------------------------------------------------
224
+  (0.1ms) rollback transaction
225
+  (0.1ms) begin transaction
226
+ --------------------------------------------------------------------------------------
227
+ SortingTest: test_there_should_be_no_default_order_specified,_but_it_should_still_work
228
+ --------------------------------------------------------------------------------------
229
+  (0.1ms) rollback transaction
230
+  (0.1ms) begin transaction
231
+ --------------------------------------------
232
+ OrderingTest: test_I_can_easily_change_order
233
+ --------------------------------------------
234
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-01 16:38:54 +0100
235
+ Processing by Admin::ItemsController#index as HTML
236
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (items.id BETWEEN NULL AND NULL) ORDER BY items.id ASC LIMIT 25 OFFSET 0
237
+ Rendered admin/items/index.html.erb (39.6ms)
238
+ Completed 200 OK in 45ms (Views: 43.3ms | ActiveRecord: 0.2ms)
239
+ Started GET "/admin/items?asc=true&order=price" for 127.0.0.1 at 2014-11-01 16:38:54 +0100
240
+ Processing by Admin::ItemsController#index as HTML
241
+ Parameters: {"asc"=>"true", "order"=>"price"}
242
+ Item Load (0.1ms) SELECT "items".* FROM "items"
243
+ Rendered admin/items/index.html.erb (3.7ms)
244
+ Completed 500 Internal Server Error in 4ms
245
+  (0.1ms) rollback transaction
246
+  (0.0ms) begin transaction
247
+ --------------------------------------------------------
248
+ OrderingTest: test_I_can_see_default_DESC_order_on_PRICE
249
+ --------------------------------------------------------
250
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-01 16:38:54 +0100
251
+ Processing by Admin::ItemsController#index as HTML
252
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (items.id BETWEEN NULL AND NULL) ORDER BY items.id ASC LIMIT 25 OFFSET 0
253
+ Rendered admin/items/index.html.erb (2.3ms)
254
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms)
255
+  (0.1ms) rollback transaction
256
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
257
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
258
+  (0.3ms) begin transaction
259
+ --------------------------------------------
260
+ OrderingTest: test_I_can_easily_change_order
261
+ --------------------------------------------
262
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-01 16:40:51 +0100
263
+ Processing by Admin::ItemsController#index as HTML
264
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
265
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (5.3ms)
266
+ Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.2ms)
267
+ Started GET "/admin/items?asc=true&order=price" for 127.0.0.1 at 2014-11-01 16:40:51 +0100
268
+ Processing by Admin::ItemsController#index as HTML
269
+ Parameters: {"asc"=>"true", "order"=>"price"}
270
+ Item Load (1.0ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price ASC LIMIT 25 OFFSET 0
271
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (34.7ms)
272
+ Completed 200 OK in 36ms (Views: 34.4ms | ActiveRecord: 1.0ms)
273
+  (0.1ms) rollback transaction
274
+  (0.1ms) begin transaction
275
+ --------------------------------------------------------
276
+ OrderingTest: test_I_can_see_default_DESC_order_on_PRICE
277
+ --------------------------------------------------------
278
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-01 16:40:51 +0100
279
+ Processing by Admin::ItemsController#index as HTML
280
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
281
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (2.4ms)
282
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)
283
+  (0.1ms) rollback transaction
284
+  (0.1ms) begin transaction
285
+ -------------------------------------------------------------------------
286
+ SortingTest: test_one_can_set_order_column_&_direction_other_than_default
287
+ -------------------------------------------------------------------------
288
+  (0.1ms) rollback transaction
289
+  (0.1ms) begin transaction
290
+ -----------------------------------------------------
291
+ SortingTest: test_one_can_sort_using_multiple_columns
292
+ -----------------------------------------------------
293
+  (0.1ms) rollback transaction
294
+  (0.0ms) begin transaction
295
+ --------------------------------------------------------------------------------------
296
+ SortingTest: test_there_should_be_no_default_order_specified,_but_it_should_still_work
297
+ --------------------------------------------------------------------------------------
298
+  (0.1ms) rollback transaction
299
+  (0.1ms) begin transaction
300
+ -------------------------
301
+ AdminBitsTest: test_truth
302
+ -------------------------
303
+  (0.0ms) rollback transaction
304
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
305
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
306
+  (0.1ms) begin transaction
307
+ --------------------------------------------
308
+ OrderingTest: test_I_can_easily_change_order
309
+ --------------------------------------------
310
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-01 16:41:28 +0100
311
+ Processing by Admin::ItemsController#index as HTML
312
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') AND (items.price BETWEEN NULL AND NULL) ORDER BY items.price DESC LIMIT 25 OFFSET 0
313
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (38.7ms)
314
+ Completed 200 OK in 44ms (Views: 42.7ms | ActiveRecord: 0.3ms)
315
+ Started GET "/admin/items?asc=true&order=price" for 127.0.0.1 at 2014-11-01 16:41:28 +0100
316
+ Processing by Admin::ItemsController#index as HTML
317
+ Parameters: {"asc"=>"true", "order"=>"price"}
318
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') AND (items.price BETWEEN NULL AND NULL) ORDER BY items.price ASC LIMIT 25 OFFSET 0
319
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (2.4ms)
320
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.2ms)
321
+  (0.1ms) rollback transaction
322
+  (0.1ms) begin transaction
323
+ --------------------------------------------------------
324
+ OrderingTest: test_I_can_see_default_DESC_order_on_PRICE
325
+ --------------------------------------------------------
326
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-01 16:41:28 +0100
327
+ Processing by Admin::ItemsController#index as HTML
328
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') AND (items.price BETWEEN NULL AND NULL) ORDER BY items.price DESC LIMIT 25 OFFSET 0
329
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (2.4ms)
330
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)
331
+  (0.1ms) rollback transaction
332
+  (0.0ms) begin transaction
333
+ -------------------------
334
+ AdminBitsTest: test_truth
335
+ -------------------------
336
+  (0.0ms) rollback transaction
337
+  (0.0ms) begin transaction
338
+ -------------------------------------------------------------------------
339
+ SortingTest: test_one_can_set_order_column_&_direction_other_than_default
340
+ -------------------------------------------------------------------------
341
+  (0.1ms) rollback transaction
342
+  (0.1ms) begin transaction
343
+ -----------------------------------------------------
344
+ SortingTest: test_one_can_sort_using_multiple_columns
345
+ -----------------------------------------------------
346
+  (0.1ms) rollback transaction
347
+  (0.0ms) begin transaction
348
+ --------------------------------------------------------------------------------------
349
+ SortingTest: test_there_should_be_no_default_order_specified,_but_it_should_still_work
350
+ --------------------------------------------------------------------------------------
351
+  (0.1ms) rollback transaction
352
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
353
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
354
+  (0.1ms) begin transaction
355
+ --------------------------------------------
356
+ OrderingTest: test_I_can_easily_change_order
357
+ --------------------------------------------
358
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-01 16:41:36 +0100
359
+ Processing by Admin::ItemsController#index as HTML
360
+ Item Load (0.4ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') AND (items.rice BETWEEN NULL AND NULL) ORDER BY items.price DESC LIMIT 25 OFFSET 0
361
+ SQLite3::SQLException: no such column: items.rice: SELECT "items".* FROM "items" WHERE (name LIKE '%%') AND (items.rice BETWEEN NULL AND NULL) ORDER BY items.price DESC LIMIT 25 OFFSET 0
362
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (40.1ms)
363
+ Completed 500 Internal Server Error in 45ms
364
+  (0.1ms) rollback transaction
365
+  (0.0ms) begin transaction
366
+ --------------------------------------------------------
367
+ OrderingTest: test_I_can_see_default_DESC_order_on_PRICE
368
+ --------------------------------------------------------
369
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-01 16:41:36 +0100
370
+ Processing by Admin::ItemsController#index as HTML
371
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') AND (items.rice BETWEEN NULL AND NULL) ORDER BY items.price DESC LIMIT 25 OFFSET 0
372
+ SQLite3::SQLException: no such column: items.rice: SELECT "items".* FROM "items" WHERE (name LIKE '%%') AND (items.rice BETWEEN NULL AND NULL) ORDER BY items.price DESC LIMIT 25 OFFSET 0
373
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (3.0ms)
374
+ Completed 500 Internal Server Error in 4ms
375
+  (0.1ms) rollback transaction
376
+  (0.1ms) begin transaction
377
+ -------------------------
378
+ AdminBitsTest: test_truth
379
+ -------------------------
380
+  (0.0ms) rollback transaction
381
+  (0.0ms) begin transaction
382
+ -------------------------------------------------------------------------
383
+ SortingTest: test_one_can_set_order_column_&_direction_other_than_default
384
+ -------------------------------------------------------------------------
385
+  (0.1ms) rollback transaction
386
+  (0.1ms) begin transaction
387
+ -----------------------------------------------------
388
+ SortingTest: test_one_can_sort_using_multiple_columns
389
+ -----------------------------------------------------
390
+  (0.1ms) rollback transaction
391
+  (0.1ms) begin transaction
392
+ --------------------------------------------------------------------------------------
393
+ SortingTest: test_there_should_be_no_default_order_specified,_but_it_should_still_work
394
+ --------------------------------------------------------------------------------------
395
+  (0.1ms) rollback transaction
396
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
397
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
398
+  (0.1ms) begin transaction
399
+ -------------------------
400
+ AdminBitsTest: test_truth
401
+ -------------------------
402
+  (0.0ms) rollback transaction
403
+  (0.0ms) begin transaction
404
+ --------------------------------------------
405
+ OrderingTest: test_I_can_easily_change_order
406
+ --------------------------------------------
407
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-01 16:41:53 +0100
408
+ Processing by Admin::ItemsController#index as HTML
409
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') AND (items.price BETWEEN NULL AND NULL) ORDER BY items.price DESC LIMIT 25 OFFSET 0
410
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (38.9ms)
411
+ Completed 200 OK in 44ms (Views: 42.9ms | ActiveRecord: 0.3ms)
412
+ Started GET "/admin/items?asc=true&order=price" for 127.0.0.1 at 2014-11-01 16:41:53 +0100
413
+ Processing by Admin::ItemsController#index as HTML
414
+ Parameters: {"asc"=>"true", "order"=>"price"}
415
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') AND (items.price BETWEEN NULL AND NULL) ORDER BY items.price ASC LIMIT 25 OFFSET 0
416
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (2.3ms)
417
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)
418
+  (0.1ms) rollback transaction
419
+  (0.1ms) begin transaction
420
+ --------------------------------------------------------
421
+ OrderingTest: test_I_can_see_default_DESC_order_on_PRICE
422
+ --------------------------------------------------------
423
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-01 16:41:53 +0100
424
+ Processing by Admin::ItemsController#index as HTML
425
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') AND (items.price BETWEEN NULL AND NULL) ORDER BY items.price DESC LIMIT 25 OFFSET 0
426
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (2.4ms)
427
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)
428
+  (0.1ms) rollback transaction
429
+  (0.1ms) begin transaction
430
+ -------------------------------------------------------------------------
431
+ SortingTest: test_one_can_set_order_column_&_direction_other_than_default
432
+ -------------------------------------------------------------------------
433
+  (0.1ms) rollback transaction
434
+  (0.1ms) begin transaction
435
+ -----------------------------------------------------
436
+ SortingTest: test_one_can_sort_using_multiple_columns
437
+ -----------------------------------------------------
438
+  (0.1ms) rollback transaction
439
+  (0.1ms) begin transaction
440
+ --------------------------------------------------------------------------------------
441
+ SortingTest: test_there_should_be_no_default_order_specified,_but_it_should_still_work
442
+ --------------------------------------------------------------------------------------
443
+  (0.1ms) rollback transaction
444
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
445
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
446
+  (0.1ms) begin transaction
447
+ -------------------------------------------------------------------------
448
+ SortingTest: test_one_can_set_order_column_&_direction_other_than_default
449
+ -------------------------------------------------------------------------
450
+  (0.3ms) rollback transaction
451
+  (0.1ms) begin transaction
452
+ -----------------------------------------------------
453
+ SortingTest: test_one_can_sort_using_multiple_columns
454
+ -----------------------------------------------------
455
+  (0.1ms) rollback transaction
456
+  (0.1ms) begin transaction
457
+ --------------------------------------------------------------------------------------
458
+ SortingTest: test_there_should_be_no_default_order_specified,_but_it_should_still_work
459
+ --------------------------------------------------------------------------------------
460
+  (0.1ms) rollback transaction
461
+  (0.0ms) begin transaction
462
+ -------------------------
463
+ AdminBitsTest: test_truth
464
+ -------------------------
465
+  (0.0ms) rollback transaction
466
+  (0.1ms) begin transaction
467
+ --------------------------------------------
468
+ OrderingTest: test_I_can_easily_change_order
469
+ --------------------------------------------
470
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-01 16:43:13 +0100
471
+ Processing by Admin::ItemsController#index as HTML
472
+ Item Load (0.4ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
473
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (39.3ms)
474
+ Completed 200 OK in 45ms (Views: 43.0ms | ActiveRecord: 0.4ms)
475
+ Started GET "/admin/items?asc=true&order=price" for 127.0.0.1 at 2014-11-01 16:43:13 +0100
476
+ Processing by Admin::ItemsController#index as HTML
477
+ Parameters: {"asc"=>"true", "order"=>"price"}
478
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price ASC LIMIT 25 OFFSET 0
479
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (2.2ms)
480
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)
481
+  (0.1ms) rollback transaction
482
+  (0.0ms) begin transaction
483
+ --------------------------------------------------------
484
+ OrderingTest: test_I_can_see_default_DESC_order_on_PRICE
485
+ --------------------------------------------------------
486
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-01 16:43:13 +0100
487
+ Processing by Admin::ItemsController#index as HTML
488
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
489
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (2.3ms)
490
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)
491
+  (0.1ms) rollback transaction
492
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
493
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
494
+  (0.1ms) begin transaction
495
+ -------------------------------------------------------------------------
496
+ SortingTest: test_one_can_set_order_column_&_direction_other_than_default
497
+ -------------------------------------------------------------------------
498
+  (0.1ms) rollback transaction
499
+  (0.1ms) begin transaction
500
+ -----------------------------------------------------
501
+ SortingTest: test_one_can_sort_using_multiple_columns
502
+ -----------------------------------------------------
503
+  (0.1ms) rollback transaction
504
+  (0.0ms) begin transaction
505
+ --------------------------------------------------------------------------------------
506
+ SortingTest: test_there_should_be_no_default_order_specified,_but_it_should_still_work
507
+ --------------------------------------------------------------------------------------
508
+  (0.1ms) rollback transaction
509
+  (0.1ms) begin transaction
510
+ --------------------------------------------
511
+ OrderingTest: test_I_can_easily_change_order
512
+ --------------------------------------------
513
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-01 16:43:20 +0100
514
+ Processing by Admin::ItemsController#index as HTML
515
+ Item Load (0.3ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
516
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (5.0ms)
517
+ Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.3ms)
518
+ Started GET "/admin/items?asc=true&order=price" for 127.0.0.1 at 2014-11-01 16:43:20 +0100
519
+ Processing by Admin::ItemsController#index as HTML
520
+ Parameters: {"asc"=>"true", "order"=>"price"}
521
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price ASC LIMIT 25 OFFSET 0
522
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (2.3ms)
523
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)
524
+  (0.1ms) rollback transaction
525
+  (0.0ms) begin transaction
526
+ --------------------------------------------------------
527
+ OrderingTest: test_I_can_see_default_DESC_order_on_PRICE
528
+ --------------------------------------------------------
529
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-01 16:43:20 +0100
530
+ Processing by Admin::ItemsController#index as HTML
531
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
532
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (2.3ms)
533
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)
534
+  (0.1ms) rollback transaction
535
+  (0.1ms) begin transaction
536
+ -------------------------
537
+ AdminBitsTest: test_truth
538
+ -------------------------
539
+  (0.0ms) rollback transaction
540
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
541
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
542
+  (0.1ms) begin transaction
543
+ --------------------------------------------
544
+ OrderingTest: test_I_can_easily_change_order
545
+ --------------------------------------------
546
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-02 13:52:52 +0100
547
+ Processing by Admin::ItemsController#index as HTML
548
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (35.6ms)
549
+ Completed 500 Internal Server Error in 40ms
550
+  (0.1ms) rollback transaction
551
+  (0.1ms) begin transaction
552
+ --------------------------------------------------------
553
+ OrderingTest: test_I_can_see_default_DESC_order_on_PRICE
554
+ --------------------------------------------------------
555
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-02 13:52:52 +0100
556
+ Processing by Admin::ItemsController#index as HTML
557
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (1.3ms)
558
+ Completed 500 Internal Server Error in 2ms
559
+  (0.1ms) rollback transaction
560
+  (0.1ms) begin transaction
561
+ -------------------------
562
+ AdminBitsTest: test_truth
563
+ -------------------------
564
+  (0.0ms) rollback transaction
565
+  (0.0ms) begin transaction
566
+ -------------------------------------------------------------------------
567
+ SortingTest: test_one_can_set_order_column_&_direction_other_than_default
568
+ -------------------------------------------------------------------------
569
+  (0.1ms) rollback transaction
570
+  (0.1ms) begin transaction
571
+ -----------------------------------------------------
572
+ SortingTest: test_one_can_sort_using_multiple_columns
573
+ -----------------------------------------------------
574
+  (0.1ms) rollback transaction
575
+  (0.0ms) begin transaction
576
+ --------------------------------------------------------------------------------------
577
+ SortingTest: test_there_should_be_no_default_order_specified,_but_it_should_still_work
578
+ --------------------------------------------------------------------------------------
579
+  (0.1ms) rollback transaction
580
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
581
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
582
+  (0.1ms) begin transaction
583
+ --------------------------------------------
584
+ OrderingTest: test_I_can_easily_change_order
585
+ --------------------------------------------
586
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-02 13:53:45 +0100
587
+ Processing by Admin::ItemsController#index as HTML
588
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (35.6ms)
589
+ Completed 500 Internal Server Error in 40ms
590
+  (0.3ms) rollback transaction
591
+  (0.0ms) begin transaction
592
+ --------------------------------------------------------
593
+ OrderingTest: test_I_can_see_default_DESC_order_on_PRICE
594
+ --------------------------------------------------------
595
+ Started GET "/admin/items" for 127.0.0.1 at 2014-11-02 13:53:45 +0100
596
+ Processing by Admin::ItemsController#index as HTML
597
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (1.0ms)
598
+ Completed 500 Internal Server Error in 2ms
599
+  (0.1ms) rollback transaction
600
+  (0.1ms) begin transaction
601
+ -------------------------------------------------------------------------
602
+ SortingTest: test_one_can_set_order_column_&_direction_other_than_default
603
+ -------------------------------------------------------------------------
604
+  (0.1ms) rollback transaction
605
+  (0.0ms) begin transaction
606
+ -----------------------------------------------------
607
+ SortingTest: test_one_can_sort_using_multiple_columns
608
+ -----------------------------------------------------
609
+  (0.1ms) rollback transaction
610
+  (0.0ms) begin transaction
611
+ --------------------------------------------------------------------------------------
612
+ SortingTest: test_there_should_be_no_default_order_specified,_but_it_should_still_work
613
+ --------------------------------------------------------------------------------------
614
+  (0.1ms) rollback transaction
615
+  (0.1ms) begin transaction
616
+ -------------------------
617
+ AdminBitsTest: test_truth
618
+ -------------------------
619
+  (0.0ms) rollback transaction
620
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
621
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
622
+  (0.1ms) begin transaction
623
+ -----------------------------------------------------------------------
624
+ PathHandlerTest: test_path_handler_accepts_procs_with_param-based_route
625
+ -----------------------------------------------------------------------
626
+  (0.1ms) rollback transaction
627
+  (0.0ms) begin transaction
628
+ -------------------------
629
+ AdminBitsTest: test_truth
630
+ -------------------------
631
+  (0.0ms) rollback transaction
632
+  (0.0ms) begin transaction
633
+ --------------------------------------------
634
+ OrderingTest: test_I_can_easily_change_order
635
+ --------------------------------------------
636
+ Started GET "/admin/items" for 127.0.0.1 at 2014-12-19 21:04:10 +0100
637
+ Processing by Admin::ItemsController#index as HTML
638
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
639
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (3.1ms)
640
+ Completed 200 OK in 55ms (Views: 54.6ms | ActiveRecord: 0.1ms)
641
+ Started GET "/admin/items?asc=true&order=price" for 127.0.0.1 at 2014-12-19 21:04:10 +0100
642
+ Processing by Admin::ItemsController#index as HTML
643
+ Parameters: {"asc"=>"true", "order"=>"price"}
644
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price ASC LIMIT 25 OFFSET 0
645
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (1.3ms)
646
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)
647
+  (0.0ms) rollback transaction
648
+  (0.0ms) begin transaction
649
+ --------------------------------------------------------
650
+ OrderingTest: test_I_can_see_default_DESC_order_on_PRICE
651
+ --------------------------------------------------------
652
+ Started GET "/admin/items" for 127.0.0.1 at 2014-12-19 21:04:10 +0100
653
+ Processing by Admin::ItemsController#index as HTML
654
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE (name LIKE '%%') ORDER BY items.price DESC LIMIT 25 OFFSET 0
655
+ Rendered admin_bits_modules/basic_admin_panel/index.html.erb within layouts/admin_bits_modules/basic_admin_panel/layout (1.2ms)
656
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
657
+  (0.0ms) rollback transaction
658
+  (0.0ms) begin transaction
659
+ -------------------------------------------------------------------------
660
+ SortingTest: test_one_can_set_order_column_&_direction_other_than_default
661
+ -------------------------------------------------------------------------
662
+  (0.0ms) rollback transaction
663
+  (0.0ms) begin transaction
664
+ -----------------------------------------------------
665
+ SortingTest: test_one_can_sort_using_multiple_columns
666
+ -----------------------------------------------------
667
+  (0.1ms) rollback transaction
668
+  (0.0ms) begin transaction
669
+ --------------------------------------------------------------------------------------
670
+ SortingTest: test_there_should_be_no_default_order_specified,_but_it_should_still_work
671
+ --------------------------------------------------------------------------------------
672
+  (0.0ms) rollback transaction