web-console 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of web-console might be problematic. Click here for more details.

Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.markdown +11 -12
  3. data/app/controllers/web_console/console_sessions_controller.rb +1 -1
  4. data/lib/web_console/version.rb +1 -1
  5. data/test/controllers/web_console/console_sessions_controller_test.rb +1 -1
  6. data/test/dummy/log/test.log +395 -1970
  7. data/test/dummy/tmp/cache/assets/test/sprockets/17c571144b4e44da39bddb2d2c412414 +0 -0
  8. data/test/dummy/tmp/cache/assets/test/sprockets/36341e42f23669574fa1027d0958ff3e +0 -0
  9. data/test/dummy/tmp/cache/assets/test/sprockets/55b7b76605fdffe31d737d4ac1f1ef7b +0 -0
  10. data/test/dummy/tmp/cache/assets/test/sprockets/5ac98782fe3dfd0a766f75ce1801f0a0 +0 -0
  11. data/test/dummy/tmp/cache/assets/test/sprockets/680381170dc160e358fc28076ea6886c +0 -0
  12. data/test/dummy/tmp/cache/assets/test/sprockets/6ad7acc9a22fe2a67ec24a1fc866c20e +0 -0
  13. data/test/dummy/tmp/cache/assets/test/sprockets/6e4d5b32cc444226f6597198994ccd5e +0 -0
  14. data/test/dummy/tmp/cache/assets/test/sprockets/7a50a9e605754e99783de95715b976b0 +0 -0
  15. data/test/dummy/tmp/cache/assets/test/sprockets/8aa4c7aabff23c8089d41e9e54193483 +0 -0
  16. data/test/dummy/tmp/cache/assets/test/sprockets/b2401118729720034b6f3eda0b4c5025 +0 -0
  17. data/test/dummy/tmp/cache/assets/test/sprockets/cb0065359d3b5b296f71d673f4b276e9 +0 -0
  18. data/test/dummy/tmp/cache/assets/test/sprockets/d1f6e06bc2f112c4ec3a4c3f68351878 +0 -0
  19. data/test/dummy/tmp/cache/assets/test/sprockets/d6b85d8b0b5c569388b89e56e9f6fed7 +0 -0
  20. data/test/dummy/tmp/cache/assets/test/sprockets/d982412def520c434e2240eae6d29cf2 +0 -0
  21. data/test/dummy/tmp/cache/assets/test/sprockets/df048a8b0897b9c04acdf59c8f95b18f +0 -0
  22. data/test/dummy/tmp/cache/assets/test/sprockets/e6d6b8bde546349764be7b44ffcf5807 +0 -0
  23. metadata +3 -49
  24. data/test/dummy/db/development.sqlite3 +0 -0
  25. data/test/dummy/log/development.log +0 -310132
  26. data/test/dummy/tmp/cache/assets/development/sprockets/17c571144b4e44da39bddb2d2c412414 +0 -0
  27. data/test/dummy/tmp/cache/assets/development/sprockets/2b96b037f3dfeccfe27113eb95b06ea1 +0 -0
  28. data/test/dummy/tmp/cache/assets/development/sprockets/36341e42f23669574fa1027d0958ff3e +0 -0
  29. data/test/dummy/tmp/cache/assets/development/sprockets/44117154e909436e7eeaf10cdb18d2b4 +0 -0
  30. data/test/dummy/tmp/cache/assets/development/sprockets/496864a905d53afd8e176f29500f96a8 +0 -0
  31. data/test/dummy/tmp/cache/assets/development/sprockets/55b7b76605fdffe31d737d4ac1f1ef7b +0 -0
  32. data/test/dummy/tmp/cache/assets/development/sprockets/5ac98782fe3dfd0a766f75ce1801f0a0 +0 -0
  33. data/test/dummy/tmp/cache/assets/development/sprockets/680381170dc160e358fc28076ea6886c +0 -0
  34. data/test/dummy/tmp/cache/assets/development/sprockets/6ad7acc9a22fe2a67ec24a1fc866c20e +0 -0
  35. data/test/dummy/tmp/cache/assets/development/sprockets/6e4d5b32cc444226f6597198994ccd5e +0 -0
  36. data/test/dummy/tmp/cache/assets/development/sprockets/7a50a9e605754e99783de95715b976b0 +0 -0
  37. data/test/dummy/tmp/cache/assets/development/sprockets/8aa4c7aabff23c8089d41e9e54193483 +0 -0
  38. data/test/dummy/tmp/cache/assets/development/sprockets/b2401118729720034b6f3eda0b4c5025 +0 -0
  39. data/test/dummy/tmp/cache/assets/development/sprockets/c649837df826fc310cb80f1adafd6b8d +0 -0
  40. data/test/dummy/tmp/cache/assets/development/sprockets/cb0065359d3b5b296f71d673f4b276e9 +0 -0
  41. data/test/dummy/tmp/cache/assets/development/sprockets/d1f6e06bc2f112c4ec3a4c3f68351878 +0 -0
  42. data/test/dummy/tmp/cache/assets/development/sprockets/d6b85d8b0b5c569388b89e56e9f6fed7 +0 -0
  43. data/test/dummy/tmp/cache/assets/development/sprockets/d982412def520c434e2240eae6d29cf2 +0 -0
  44. data/test/dummy/tmp/cache/assets/development/sprockets/df048a8b0897b9c04acdf59c8f95b18f +0 -0
  45. data/test/dummy/tmp/cache/assets/development/sprockets/e6d6b8bde546349764be7b44ffcf5807 +0 -0
  46. data/test/dummy/tmp/cache/assets/development/sprockets/eb25265794d2f7afd1684779d84efdac +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6345e88118d33e48c4ab72de54a6c74b23c2fdbc
4
- data.tar.gz: 511be0643b84514121d1e860d8962ed725b8bc90
3
+ metadata.gz: 577d50cf084f3c7d66fdf4eb99b5da8ac0baf148
4
+ data.tar.gz: ca9605e96da6c53f080be46a1660d88bb736a183
5
5
  SHA512:
6
- metadata.gz: b1b307471ff2dcde9e25825a719314d81be5c64384de29f8739317405062dcfe7890f77c89dc45dd1baa2d77e5cb2a9a6cccab5dea3841140b48ea739bd9431d
7
- data.tar.gz: 1694ef52f6d26584a9c9a099ed0f79f86fccf04b888cbb2ca1cbd3f899e0e9141294a9477d782563da7b6018ea11523440d8812ccf86f817d9774dca52e28742
6
+ metadata.gz: 7d44aa991870097a0b6230ec5bcfb152dc4f66f41141ee1544500c2cbe2e8a4bd78020829896c66ce4eea188e7f70d782e5e2ef935a020086456a80c97951ee1
7
+ data.tar.gz: cc0dcacfc0eb21071a92791100cc96380c9a59acaaf0be54c4208b6727761ac0ac590198ae0b96eb790b10371b1ff0e79ad451148f7c7cc81e15558511e6000e
@@ -9,12 +9,11 @@
9
9
  Web Console [![Version](https://badge.fury.io/rb/web-console.png)](http://badge.fury.io/rb/web-console) [![Travis](https://travis-ci.org/rails/web-console.png)](https://travis-ci.org/rails/web-console)
10
10
  ===========
11
11
 
12
- There is no doubt that `rails console` is one of the most useful commands,
13
- Rails has to offer. However, sometimes you can't easily access it, or maybe
14
- you want to share it with a coworker without configuring remote desktop
15
- server.
12
+ No doubt, `rails console` is one of the most useful commands, Rails has to
13
+ offer. However, sometimes you can't easily access it, or maybe you want to
14
+ share it with a coworker without configuring remote desktop server.
16
15
 
17
- This is where _Web Console_ comes to the rescue. It gives you the same
16
+ This is where _Web Console_ comes to play. It gives you the same
18
17
  `rails console` experience, right in the browser. Its not just a tool that
19
18
  let's you evaluate Ruby code, there are a lot of those. Its a [VT100]
20
19
  compatible terminal, running `rails console`.
@@ -34,8 +33,8 @@ _Web Console_ has been tested on the following rubies.
34
33
 
35
34
  _Rubunius_ in 1.9 mode may work, but it hasn't been tested.
36
35
 
37
- _Web Console_ has been built explicitly for _Rails 4_. For a _Rails 3_
38
- compatible build, check out the [web-console-rails3] project.
36
+ _Web Console_ has been built explicitly for _Rails 4_. Check out the
37
+ [web-console-rails3] project for a _Rails 3_ compatible build.
39
38
 
40
39
  Installation
41
40
  ------------
@@ -44,7 +43,7 @@ To install it in your current application, add the following to your `Gemfile`.
44
43
 
45
44
  ```ruby
46
45
  group :development do
47
- gem 'web-console', '~> 1.0.2'
46
+ gem 'web-console'
48
47
  end
49
48
  ```
50
49
 
@@ -99,7 +98,7 @@ end
99
98
  You can see that `config.web_console.whitelisted_ips` accepts plains strings
100
99
  too. More than that, they can cover whole networks.
101
100
 
102
- Again, note that this network doesn't allow `127.0.0.1`. If you want to access
101
+ Again, note that this network doesn't allow `127.0.0.1`. If you want to access
103
102
  the console, you have to do so from it's external IP or add `127.0.0.1` to the
104
103
  mix.
105
104
 
@@ -179,7 +178,7 @@ class Application < Rails::Application
179
178
  config.allow_concurrency = true
180
179
 
181
180
  # For long-polling, 45 seconds timeout for the development server seems
182
- # reasonable.
181
+ # reasonable. You may want to experiment with the value.
183
182
  config.web_console.timeout = 45.seconds
184
183
  end
185
184
  ```
@@ -278,8 +277,8 @@ is even slower. Read more about the problem at the _JRuby_ [wiki].
278
277
 
279
278
  ### Changing the colors is broken.
280
279
 
281
- Some of the style sheets may be cached. Run `rake tmp:cache:clear` to clear it
282
- up.
280
+ Some of the style sheets may be cached on the file system. Run
281
+ `rake tmp:cache:clear` to clear those up.
283
282
 
284
283
  [Docker]: http://www.docker.io/
285
284
  [Puma]: http://puma.io/
@@ -37,7 +37,7 @@ module WebConsole
37
37
  private
38
38
 
39
39
  def console_session_params
40
- params.permit(:input, :width, :height)
40
+ params.permit(:id, :input, :width, :height)
41
41
  end
42
42
  end
43
43
  end
@@ -1,3 +1,3 @@
1
1
  module WebConsole
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
@@ -61,7 +61,7 @@ module WebConsole
61
61
  get :index, use_route: 'web_console'
62
62
 
63
63
  assert_not_nil console_session = assigns(:console_session)
64
- console_session.expects(:configure).with('width' => '80', 'height' => '24')
64
+ console_session.expects(:configure).with('id' => console_session.pid.to_s, 'width' => '80', 'height' => '24')
65
65
 
66
66
  put :configuration, id: console_session.pid, width: 80, height: 24, use_route: 'web_console'
67
67
  assert_response :success
@@ -1,1741 +1,178 @@
1
-  (0.3ms) begin transaction
2
- --------------------------------------------------------------------
3
- WebConsole::ColorsTest: test_#background=_is_an_alias_of_#background
4
- --------------------------------------------------------------------
5
-  (0.1ms) rollback transaction
6
-  (0.1ms) begin transaction
7
- --------------------------------------------------------------------
8
- WebConsole::ColorsTest: test_#background_can_be_explicitly_specified
9
- --------------------------------------------------------------------
10
-  (0.0ms) rollback transaction
11
-  (0.0ms) begin transaction
12
- ----------------------------------------------------------------------------
13
- WebConsole::ColorsTest: test_#background_is_the_first_color_if_not_specified
14
- ----------------------------------------------------------------------------
15
-  (0.0ms) rollback transaction
16
-  (0.0ms) begin transaction
17
- -----------------------------------------------
18
- WebConsole::ColorsTest: test_#default_is_:light
19
- -----------------------------------------------
20
-  (0.0ms) rollback transaction
21
-  (0.0ms) begin transaction
22
- --------------------------------------------------------------------
23
- WebConsole::ColorsTest: test_#foreground=_is_an_alias_of_#foreground
24
- --------------------------------------------------------------------
25
-  (0.0ms) rollback transaction
26
-  (0.0ms) begin transaction
27
- --------------------------------------------------------------------
28
- WebConsole::ColorsTest: test_#foreground_can_be_explicitly_specified
29
- --------------------------------------------------------------------
30
-  (0.1ms) rollback transaction
31
-  (0.1ms) begin transaction
32
- ---------------------------------------------------------------------------
33
- WebConsole::ColorsTest: test_#foreground_is_the_last_color_if_not_specified
34
- ---------------------------------------------------------------------------
35
-  (0.1ms) rollback transaction
36
-  (0.1ms) begin transaction
37
- --------------------------------------------------------------------------------
38
- WebConsole::ColorsTest: test_#to_json_includes_the_background_and_the_foreground
39
- --------------------------------------------------------------------------------
40
-  (0.1ms) rollback transaction
41
-  (0.1ms) begin transaction
42
- -----------------------------------------------------------
43
- WebConsole::ColorsTest: test_.[]_is_an_alias_for_.themes#[]
44
- -----------------------------------------------------------
45
-  (0.1ms) rollback transaction
46
-  (0.1ms) begin transaction
47
- ----------------------------------------------------------------------------------
48
- WebConsole::ColorsTest: test_.register_theme_creates_Colors_instance_for_the_block
49
- ----------------------------------------------------------------------------------
50
-  (0.1ms) rollback transaction
51
-  (0.2ms) begin transaction
52
- --------------------------------------------------------------------------------------
53
- WebConsole::ConsoleSessionTest: test_can_be_used_as_slave_as_the_methods_are_delegated
54
- --------------------------------------------------------------------------------------
55
-  (0.1ms) rollback transaction
56
-  (0.1ms) begin transaction
57
- --------------------------------------------------------------------------
58
- WebConsole::ConsoleSessionTest: test_create_gives_already_persisted_models
59
- --------------------------------------------------------------------------
60
-  (0.2ms) rollback transaction
61
-  (0.1ms) begin transaction
62
- ------------------------------------------------
63
- WebConsole::ConsoleSessionTest: test_errors_aref
64
- ------------------------------------------------
65
-  (0.2ms) rollback transaction
66
-  (0.1ms) begin transaction
67
- -----------------------------------------------------
68
- WebConsole::ConsoleSessionTest: test_find_coerces_ids
69
- -----------------------------------------------------
70
-  (0.2ms) rollback transaction
71
-  (0.1ms) begin transaction
72
- -------------------------------------------------
73
- WebConsole::ConsoleSessionTest: test_model_naming
74
- -------------------------------------------------
75
-  (0.1ms) rollback transaction
76
-  (0.1ms) begin transaction
77
- ------------------------------------------------------------------
78
- WebConsole::ConsoleSessionTest: test_no_gives_not_persisted_models
79
- ------------------------------------------------------------------
80
-  (0.1ms) rollback transaction
81
-  (0.1ms) begin transaction
82
- -------------------------------------------------------------------------------
83
- WebConsole::ConsoleSessionTest: test_not_found_exceptions_are_json_serializable
84
- -------------------------------------------------------------------------------
85
-  (0.1ms) rollback transaction
86
-  (0.1ms) begin transaction
87
- -----------------------------------------------
88
- WebConsole::ConsoleSessionTest: test_persisted?
89
- -----------------------------------------------
90
-  (0.1ms) rollback transaction
91
-  (0.1ms) begin transaction
92
- ----------------------------------------------------------------------------
93
- WebConsole::ConsoleSessionTest: test_persisted_models_knows_about_their_keys
94
- ----------------------------------------------------------------------------
95
-  (0.3ms) rollback transaction
96
-  (0.1ms) begin transaction
97
- -----------------------------------------------------------------------------------
98
- WebConsole::ConsoleSessionTest: test_persisted_models_knows_that_they_are_in_memory
99
- -----------------------------------------------------------------------------------
100
-  (0.1ms) rollback transaction
101
-  (0.1ms) begin transaction
102
- ---------------------------------------------------------------------------------------------
103
- WebConsole::ConsoleSessionTest: test_raises_ConsoleSession::Unavailable_on_not_found_sessions
104
- ---------------------------------------------------------------------------------------------
105
-  (0.1ms) rollback transaction
106
-  (0.1ms) begin transaction
107
- ------------------------------------------------------------------------------
108
- WebConsole::ConsoleSessionTest: test_slave_methods_are_cached_on_the_singleton
109
- ------------------------------------------------------------------------------
110
-  (0.1ms) rollback transaction
111
-  (0.1ms) begin transaction
112
- -------------------------------------------
113
- WebConsole::ConsoleSessionTest: test_to_key
114
- -------------------------------------------
115
-  (0.1ms) rollback transaction
116
-  (0.0ms) begin transaction
117
- ---------------------------------------------
118
- WebConsole::ConsoleSessionTest: test_to_param
119
- ---------------------------------------------
120
-  (0.1ms) rollback transaction
121
-  (0.1ms) begin transaction
122
- ----------------------------------------------------
123
- WebConsole::ConsoleSessionTest: test_to_partial_path
124
- ----------------------------------------------------
125
-  (0.1ms) rollback transaction
126
-  (0.1ms) begin transaction
127
- -------------------------------------------------------------------------------------
128
- WebConsole::ConsoleSessionsControllerTest: test_GET_index_creates_new_console_session
129
- -------------------------------------------------------------------------------------
130
- Processing by WebConsole::ConsoleSessionsController#index as HTML
131
- Completed 200 OK in 67ms (Views: 66.0ms | ActiveRecord: 0.0ms)
132
-  (0.1ms) rollback transaction
133
-  (0.1ms) begin transaction
134
- -------------------------------------------------------------------------------------------------
135
- WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_gives_the_slave_pending_output
136
- -------------------------------------------------------------------------------------------------
137
- Processing by WebConsole::ConsoleSessionsController#index as HTML
138
- Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
139
- Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
140
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
141
-  (0.1ms) rollback transaction
142
-  (0.1ms) begin transaction
143
- --------------------------------------------------------------------------------------------------------
144
- WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_raises_410_on_exitted_slave_processes
145
- --------------------------------------------------------------------------------------------------------
146
- Processing by WebConsole::ConsoleSessionsController#index as HTML
147
- Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
148
- Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
149
- Completed 410 Gone in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
150
-  (0.1ms) rollback transaction
151
-  (0.0ms) begin transaction
152
- ------------------------------------------------------------------------------------------
153
- WebConsole::ConsoleSessionsControllerTest: test_PUT_configuration_adjust_the_terminal_size
154
- ------------------------------------------------------------------------------------------
155
- Processing by WebConsole::ConsoleSessionsController#index as HTML
156
- Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
157
- Processing by WebConsole::ConsoleSessionsController#configuration as HTML
158
- Unpermitted parameters: id
159
- Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
160
-  (0.1ms) rollback transaction
161
-  (0.1ms) begin transaction
162
- ----------------------------------------------------------------------------------
163
- WebConsole::ConsoleSessionsControllerTest: test_PUT_input_sends_input_to_the_slave
164
- ----------------------------------------------------------------------------------
165
- Processing by WebConsole::ConsoleSessionsController#index as HTML
166
- Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
167
- Processing by WebConsole::ConsoleSessionsController#input as HTML
168
- Unpermitted parameters: id
169
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
170
-  (0.1ms) rollback transaction
171
-  (0.1ms) begin transaction
172
- -------------------------------------------------------------------------------------
173
- WebConsole::ConsoleSessionsControllerTest: test_PUT_input_validates_for_missing_input
174
- -------------------------------------------------------------------------------------
175
- Processing by WebConsole::ConsoleSessionsController#index as HTML
176
- Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms)
177
- Processing by WebConsole::ConsoleSessionsController#input as HTML
178
- Unpermitted parameters: id
179
- Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
180
-  (0.1ms) rollback transaction
181
-  (0.0ms) begin transaction
182
- ------------------------------------------------------------------------------------
183
- WebConsole::ConsoleSessionsControllerTest: test_allows_requests_from_whitelisted_ips
184
- ------------------------------------------------------------------------------------
185
- Processing by WebConsole::ConsoleSessionsController#index as HTML
186
- Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
187
-  (0.2ms) rollback transaction
188
-  (0.2ms) begin transaction
189
- ----------------------------------------------------------------------------------------
190
- WebConsole::ConsoleSessionsControllerTest: test_blocks_requests_from_non-whitelisted_ips
191
- ----------------------------------------------------------------------------------------
192
- Processing by WebConsole::ConsoleSessionsController#index as HTML
193
- Filter chain halted as :prevent_unauthorized_requests! rendered or redirected
194
- Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
195
-  (0.1ms) rollback transaction
196
-  (0.1ms) begin transaction
197
- --------------------------------------------------------------------
198
- WebConsole::ConsoleSessionsControllerTest: test_index_generated_path
199
- --------------------------------------------------------------------
200
-  (0.2ms) rollback transaction
201
-  (0.1ms) begin transaction
202
- -------------------------------------------------------------------
203
- WebConsole::ConsoleSessionsControllerTest: test_index_is_successful
204
- -------------------------------------------------------------------
205
- Processing by WebConsole::ConsoleSessionsController#index as HTML
206
- Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
207
-  (0.5ms) rollback transaction
208
-  (0.1ms) begin transaction
209
- -----------------------------------------------------------------------------
210
- WebConsole::EngineTest: test_blank_commands_are_expanded_to_the_rails_console
211
- -----------------------------------------------------------------------------
212
-  (0.2ms) begin transaction
213
- ------------------------------------------------------
214
- WebConsole::EngineTest: test_custom_default_mount_path
215
- ------------------------------------------------------
216
-  (0.2ms) begin transaction
217
- ---------------------------------------------------
218
- WebConsole::EngineTest: test_disabling_automounting
219
- ---------------------------------------------------
220
-  (0.3ms) begin transaction
221
- ---------------------------------------------------------------
222
- WebConsole::EngineTest: test_present_commands_are_not_processed
223
- ---------------------------------------------------------------
224
-  (0.3ms) begin transaction
225
- --------------------------------------------------------
226
- WebConsole::EngineTest: test_whitelist_multiple_networks
227
- --------------------------------------------------------
228
-  (0.2ms) begin transaction
229
- -----------------------------------------------------
230
- WebConsole::EngineTest: test_whitelist_whole_networks
231
- -----------------------------------------------------
232
-  (0.2ms) begin transaction
233
- -----------------------------------------------------------------------
234
- WebConsole::EngineTest: test_whitelisted_ips.include?_coerces_to_IPAddr
235
- -----------------------------------------------------------------------
236
-  (0.2ms) begin transaction
237
- -----------------------------------------------------------------------
238
- WebConsole::EngineTest: test_whitelisted_ips.include?_works_with_IPAddr
239
- -----------------------------------------------------------------------
240
-  (0.2ms) begin transaction
241
- ------------------------------------------------------------------
242
- WebConsole::EngineTest: test_whitelisted_ips_are_courced_to_IPAddr
243
- ------------------------------------------------------------------
244
-  (0.3ms) begin transaction
245
- -----------------------------------------------------------------------------
246
- WebConsole::EngineTest: test_whitelisted_ips_are_normalized_and_unique_IPAddr
247
- -----------------------------------------------------------------------------
248
-  (0.2ms) begin transaction
249
- ----------------------------------------------------------------
250
- WebConsole::SlaveTest: test_#configure_changes_@input_dimentions
251
- ----------------------------------------------------------------
252
-  (0.2ms) rollback transaction
253
-  (0.1ms) begin transaction
254
- -------------------------------------------------------------------------------------------
255
- WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_height_is_zero
256
- -------------------------------------------------------------------------------------------
257
-  (0.1ms) rollback transaction
258
-  (0.1ms) begin transaction
259
- ------------------------------------------------------------------------------------------
260
- WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_width_is_zero
261
- ------------------------------------------------------------------------------------------
262
-  (0.2ms) rollback transaction
263
-  (0.1ms) begin transaction
264
- ---------------------------------------------------------------------------
265
- WebConsole::SlaveTest: test_#dispose!_can_reraise_Errno::ESRCH_if_requested
266
- ---------------------------------------------------------------------------
267
-  (0.1ms) rollback transaction
268
-  (0.1ms) begin transaction
269
- ----------------------------------------------------------------------------------
270
- WebConsole::SlaveTest: test_#dispose!_sends_SIGKILL_to_the_process_and_detaches_it
271
- ----------------------------------------------------------------------------------
272
-  (0.1ms) rollback transaction
273
-  (0.1ms) begin transaction
274
- --------------------------------------------------------------------------
275
- WebConsole::SlaveTest: test_#dispose_can_reraise_Errno::ESRCH_if_requested
276
- --------------------------------------------------------------------------
277
-  (0.1ms) rollback transaction
278
-  (0.1ms) begin transaction
279
- ---------------------------------------------------------------------------------
280
- WebConsole::SlaveTest: test_#dispose_sends_SIGTERM_to_the_process_and_detaches_it
281
- ---------------------------------------------------------------------------------
282
-  (0.2ms) rollback transaction
283
-  (0.1ms) begin transaction
284
- --------------------------------------------------------------------------
285
- WebConsole::SlaveTest: test_#pending_output_always_encodes_output_in_UTF-8
286
- --------------------------------------------------------------------------
287
-  (0.1ms) rollback transaction
288
-  (0.1ms) begin transaction
289
- ---------------------------------------------------------------------------------------------
290
- WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_EOFError
291
- ---------------------------------------------------------------------------------------------
292
-  (0.2ms) rollback transaction
293
-  (0.2ms) begin transaction
294
- -----------------------------------------------------------------------------------------------
295
- WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_Errno::EIO
296
- -----------------------------------------------------------------------------------------------
297
-  (0.2ms) rollback transaction
298
-  (0.1ms) begin transaction
299
- ------------------------------------------------------------------------------------
300
- WebConsole::SlaveTest: test_#pending_output_returns_a_string_with_the_current_output
301
- ------------------------------------------------------------------------------------
302
-  (0.1ms) rollback transaction
303
-  (0.1ms) begin transaction
304
- ----------------------------------------------------------------------------
305
- WebConsole::SlaveTest: test_#pending_output_returns_nil_on_no_pending_output
306
- ----------------------------------------------------------------------------
307
-  (0.1ms) rollback transaction
308
-  (0.1ms) begin transaction
309
- -------------------------------------------------------------------------
310
- WebConsole::SlaveTest: test_#send_input_raises_ArgumentError_on_bad_input
311
- -------------------------------------------------------------------------
312
-  (0.2ms) rollback transaction
313
-  (0.3ms) begin transaction
314
- --------------------------------------------------------------------
315
- WebConsole::ColorsTest: test_#background=_is_an_alias_of_#background
316
- --------------------------------------------------------------------
317
-  (0.1ms) rollback transaction
318
-  (0.1ms) begin transaction
319
- --------------------------------------------------------------------
320
- WebConsole::ColorsTest: test_#background_can_be_explicitly_specified
321
- --------------------------------------------------------------------
322
-  (0.0ms) rollback transaction
323
-  (0.0ms) begin transaction
324
- ----------------------------------------------------------------------------
325
- WebConsole::ColorsTest: test_#background_is_the_first_color_if_not_specified
326
- ----------------------------------------------------------------------------
327
-  (0.0ms) rollback transaction
328
-  (0.0ms) begin transaction
329
- -----------------------------------------------
330
- WebConsole::ColorsTest: test_#default_is_:light
331
- -----------------------------------------------
332
-  (0.0ms) rollback transaction
333
-  (0.0ms) begin transaction
334
- --------------------------------------------------------------------
335
- WebConsole::ColorsTest: test_#foreground=_is_an_alias_of_#foreground
336
- --------------------------------------------------------------------
337
-  (0.0ms) rollback transaction
338
-  (0.0ms) begin transaction
339
- --------------------------------------------------------------------
340
- WebConsole::ColorsTest: test_#foreground_can_be_explicitly_specified
341
- --------------------------------------------------------------------
342
-  (0.0ms) rollback transaction
343
-  (0.0ms) begin transaction
344
- ---------------------------------------------------------------------------
345
- WebConsole::ColorsTest: test_#foreground_is_the_last_color_if_not_specified
346
- ---------------------------------------------------------------------------
347
-  (0.0ms) rollback transaction
348
-  (0.0ms) begin transaction
349
- --------------------------------------------------------------------------------
350
- WebConsole::ColorsTest: test_#to_json_includes_the_background_and_the_foreground
351
- --------------------------------------------------------------------------------
352
-  (0.0ms) rollback transaction
353
-  (0.0ms) begin transaction
354
- -----------------------------------------------------------
355
- WebConsole::ColorsTest: test_.[]_is_an_alias_for_.themes#[]
356
- -----------------------------------------------------------
357
-  (0.1ms) rollback transaction
358
-  (0.1ms) begin transaction
359
- ----------------------------------------------------------------------------------
360
- WebConsole::ColorsTest: test_.register_theme_creates_Colors_instance_for_the_block
361
- ----------------------------------------------------------------------------------
362
-  (0.0ms) rollback transaction
363
-  (0.1ms) begin transaction
364
- --------------------------------------------------------------------------------------
365
- WebConsole::ConsoleSessionTest: test_can_be_used_as_slave_as_the_methods_are_delegated
366
- --------------------------------------------------------------------------------------
367
-  (0.1ms) rollback transaction
368
-  (0.0ms) begin transaction
369
- --------------------------------------------------------------------------
370
- WebConsole::ConsoleSessionTest: test_create_gives_already_persisted_models
371
- --------------------------------------------------------------------------
372
-  (0.1ms) rollback transaction
373
-  (0.1ms) begin transaction
374
- ------------------------------------------------
375
- WebConsole::ConsoleSessionTest: test_errors_aref
376
- ------------------------------------------------
377
-  (0.1ms) rollback transaction
378
-  (0.1ms) begin transaction
379
- -----------------------------------------------------
380
- WebConsole::ConsoleSessionTest: test_find_coerces_ids
381
- -----------------------------------------------------
382
-  (0.1ms) rollback transaction
383
-  (0.1ms) begin transaction
384
- -------------------------------------------------
385
- WebConsole::ConsoleSessionTest: test_model_naming
386
- -------------------------------------------------
387
-  (0.1ms) rollback transaction
388
-  (0.1ms) begin transaction
389
- ------------------------------------------------------------------
390
- WebConsole::ConsoleSessionTest: test_no_gives_not_persisted_models
391
- ------------------------------------------------------------------
392
-  (0.1ms) rollback transaction
393
-  (0.0ms) begin transaction
394
- -------------------------------------------------------------------------------
395
- WebConsole::ConsoleSessionTest: test_not_found_exceptions_are_json_serializable
396
- -------------------------------------------------------------------------------
397
-  (0.1ms) rollback transaction
398
-  (0.1ms) begin transaction
399
- -----------------------------------------------
400
- WebConsole::ConsoleSessionTest: test_persisted?
401
- -----------------------------------------------
402
-  (0.1ms) rollback transaction
403
-  (0.0ms) begin transaction
404
- ----------------------------------------------------------------------------
405
- WebConsole::ConsoleSessionTest: test_persisted_models_knows_about_their_keys
406
- ----------------------------------------------------------------------------
407
-  (0.1ms) rollback transaction
408
-  (0.1ms) begin transaction
409
- -----------------------------------------------------------------------------------
410
- WebConsole::ConsoleSessionTest: test_persisted_models_knows_that_they_are_in_memory
411
- -----------------------------------------------------------------------------------
412
-  (0.1ms) rollback transaction
413
-  (0.1ms) begin transaction
414
- ---------------------------------------------------------------------------------------------
415
- WebConsole::ConsoleSessionTest: test_raises_ConsoleSession::Unavailable_on_not_found_sessions
416
- ---------------------------------------------------------------------------------------------
417
-  (0.1ms) rollback transaction
418
-  (0.0ms) begin transaction
419
- ------------------------------------------------------------------------------
420
- WebConsole::ConsoleSessionTest: test_slave_methods_are_cached_on_the_singleton
421
- ------------------------------------------------------------------------------
422
-  (0.1ms) rollback transaction
423
-  (0.1ms) begin transaction
424
- -------------------------------------------
425
- WebConsole::ConsoleSessionTest: test_to_key
426
- -------------------------------------------
427
-  (0.1ms) rollback transaction
428
-  (0.1ms) begin transaction
429
- ---------------------------------------------
430
- WebConsole::ConsoleSessionTest: test_to_param
431
- ---------------------------------------------
432
-  (0.1ms) rollback transaction
433
-  (0.1ms) begin transaction
434
- ----------------------------------------------------
435
- WebConsole::ConsoleSessionTest: test_to_partial_path
436
- ----------------------------------------------------
437
-  (0.1ms) rollback transaction
438
-  (0.1ms) begin transaction
439
- -------------------------------------------------------------------------------------
440
- WebConsole::ConsoleSessionsControllerTest: test_GET_index_creates_new_console_session
441
- -------------------------------------------------------------------------------------
442
- Processing by WebConsole::ConsoleSessionsController#index as HTML
443
- Completed 200 OK in 41ms (Views: 40.2ms | ActiveRecord: 0.0ms)
444
-  (0.1ms) rollback transaction
445
-  (0.1ms) begin transaction
446
- -------------------------------------------------------------------------------------------------
447
- WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_gives_the_slave_pending_output
448
- -------------------------------------------------------------------------------------------------
449
- Processing by WebConsole::ConsoleSessionsController#index as HTML
450
- Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
451
- Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
452
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
453
-  (0.1ms) rollback transaction
454
-  (0.1ms) begin transaction
455
- --------------------------------------------------------------------------------------------------------
456
- WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_raises_410_on_exitted_slave_processes
457
- --------------------------------------------------------------------------------------------------------
458
- Processing by WebConsole::ConsoleSessionsController#index as HTML
459
- Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
460
- Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
461
- Completed 410 Gone in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
462
-  (0.1ms) rollback transaction
463
-  (0.0ms) begin transaction
464
- ------------------------------------------------------------------------------------------
465
- WebConsole::ConsoleSessionsControllerTest: test_PUT_configuration_adjust_the_terminal_size
466
- ------------------------------------------------------------------------------------------
467
- Processing by WebConsole::ConsoleSessionsController#index as HTML
468
- Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
469
- Processing by WebConsole::ConsoleSessionsController#configuration as HTML
470
- Unpermitted parameters: id
471
- Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
472
-  (0.1ms) rollback transaction
473
-  (0.1ms) begin transaction
474
- ----------------------------------------------------------------------------------
475
- WebConsole::ConsoleSessionsControllerTest: test_PUT_input_sends_input_to_the_slave
476
- ----------------------------------------------------------------------------------
477
- Processing by WebConsole::ConsoleSessionsController#index as HTML
478
- Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
479
- Processing by WebConsole::ConsoleSessionsController#input as HTML
480
- Unpermitted parameters: id
481
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
482
-  (0.1ms) rollback transaction
483
-  (0.0ms) begin transaction
484
- -------------------------------------------------------------------------------------
485
- WebConsole::ConsoleSessionsControllerTest: test_PUT_input_validates_for_missing_input
486
- -------------------------------------------------------------------------------------
487
- Processing by WebConsole::ConsoleSessionsController#index as HTML
488
- Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
489
- Processing by WebConsole::ConsoleSessionsController#input as HTML
490
- Unpermitted parameters: id
491
- Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
492
-  (0.1ms) rollback transaction
493
-  (0.1ms) begin transaction
494
- ------------------------------------------------------------------------------------
495
- WebConsole::ConsoleSessionsControllerTest: test_allows_requests_from_whitelisted_ips
496
- ------------------------------------------------------------------------------------
497
- Processing by WebConsole::ConsoleSessionsController#index as HTML
498
- Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
499
-  (0.1ms) rollback transaction
500
-  (0.0ms) begin transaction
501
- ----------------------------------------------------------------------------------------
502
- WebConsole::ConsoleSessionsControllerTest: test_blocks_requests_from_non-whitelisted_ips
503
- ----------------------------------------------------------------------------------------
504
- Processing by WebConsole::ConsoleSessionsController#index as HTML
505
- Filter chain halted as :prevent_unauthorized_requests! rendered or redirected
506
- Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
507
-  (0.1ms) rollback transaction
508
-  (0.0ms) begin transaction
509
- --------------------------------------------------------------------
510
- WebConsole::ConsoleSessionsControllerTest: test_index_generated_path
511
- --------------------------------------------------------------------
512
-  (0.1ms) rollback transaction
513
-  (0.0ms) begin transaction
514
- -------------------------------------------------------------------
515
- WebConsole::ConsoleSessionsControllerTest: test_index_is_successful
516
- -------------------------------------------------------------------
517
- Processing by WebConsole::ConsoleSessionsController#index as HTML
518
- Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
519
-  (0.1ms) rollback transaction
520
-  (0.1ms) begin transaction
521
- -----------------------------------------------------------------------------
522
- WebConsole::EngineTest: test_blank_commands_are_expanded_to_the_rails_console
523
- -----------------------------------------------------------------------------
524
-  (0.2ms) begin transaction
525
- ------------------------------------------------------
526
- WebConsole::EngineTest: test_custom_default_mount_path
527
- ------------------------------------------------------
528
-  (0.2ms) begin transaction
529
- ---------------------------------------------------
530
- WebConsole::EngineTest: test_disabling_automounting
531
- ---------------------------------------------------
532
-  (0.2ms) begin transaction
533
- ---------------------------------------------------------------
534
- WebConsole::EngineTest: test_present_commands_are_not_processed
535
- ---------------------------------------------------------------
536
-  (0.2ms) begin transaction
537
- --------------------------------------------------------
538
- WebConsole::EngineTest: test_whitelist_multiple_networks
539
- --------------------------------------------------------
540
-  (0.2ms) begin transaction
541
- -----------------------------------------------------
542
- WebConsole::EngineTest: test_whitelist_whole_networks
543
- -----------------------------------------------------
544
-  (0.2ms) begin transaction
545
- -----------------------------------------------------------------------
546
- WebConsole::EngineTest: test_whitelisted_ips.include?_coerces_to_IPAddr
547
- -----------------------------------------------------------------------
548
-  (0.2ms) begin transaction
549
- -----------------------------------------------------------------------
550
- WebConsole::EngineTest: test_whitelisted_ips.include?_works_with_IPAddr
551
- -----------------------------------------------------------------------
552
-  (0.3ms) begin transaction
553
- ------------------------------------------------------------------
554
- WebConsole::EngineTest: test_whitelisted_ips_are_courced_to_IPAddr
555
- ------------------------------------------------------------------
556
-  (0.2ms) begin transaction
557
- -----------------------------------------------------------------------------
558
- WebConsole::EngineTest: test_whitelisted_ips_are_normalized_and_unique_IPAddr
559
- -----------------------------------------------------------------------------
560
-  (0.2ms) begin transaction
561
- ----------------------------------------------------------------
562
- WebConsole::SlaveTest: test_#configure_changes_@input_dimentions
563
- ----------------------------------------------------------------
564
-  (0.1ms) rollback transaction
565
-  (0.0ms) begin transaction
566
- -------------------------------------------------------------------------------------------
567
- WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_height_is_zero
568
- -------------------------------------------------------------------------------------------
569
-  (0.1ms) rollback transaction
570
-  (0.0ms) begin transaction
571
- ------------------------------------------------------------------------------------------
572
- WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_width_is_zero
573
- ------------------------------------------------------------------------------------------
574
-  (0.1ms) rollback transaction
575
-  (0.0ms) begin transaction
576
- ---------------------------------------------------------------------------
577
- WebConsole::SlaveTest: test_#dispose!_can_reraise_Errno::ESRCH_if_requested
578
- ---------------------------------------------------------------------------
579
-  (0.1ms) rollback transaction
580
-  (0.0ms) begin transaction
581
- ----------------------------------------------------------------------------------
582
- WebConsole::SlaveTest: test_#dispose!_sends_SIGKILL_to_the_process_and_detaches_it
583
- ----------------------------------------------------------------------------------
584
-  (0.1ms) rollback transaction
585
-  (0.0ms) begin transaction
586
- --------------------------------------------------------------------------
587
- WebConsole::SlaveTest: test_#dispose_can_reraise_Errno::ESRCH_if_requested
588
- --------------------------------------------------------------------------
589
-  (0.1ms) rollback transaction
590
-  (0.0ms) begin transaction
591
- ---------------------------------------------------------------------------------
592
- WebConsole::SlaveTest: test_#dispose_sends_SIGTERM_to_the_process_and_detaches_it
593
- ---------------------------------------------------------------------------------
594
-  (0.1ms) rollback transaction
595
-  (0.0ms) begin transaction
596
- --------------------------------------------------------------------------
597
- WebConsole::SlaveTest: test_#pending_output_always_encodes_output_in_UTF-8
598
- --------------------------------------------------------------------------
599
-  (0.1ms) rollback transaction
600
-  (0.0ms) begin transaction
601
- ---------------------------------------------------------------------------------------------
602
- WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_EOFError
603
- ---------------------------------------------------------------------------------------------
604
-  (0.1ms) rollback transaction
605
-  (0.0ms) begin transaction
606
- -----------------------------------------------------------------------------------------------
607
- WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_Errno::EIO
608
- -----------------------------------------------------------------------------------------------
609
-  (0.1ms) rollback transaction
610
-  (0.0ms) begin transaction
611
- ------------------------------------------------------------------------------------
612
- WebConsole::SlaveTest: test_#pending_output_returns_a_string_with_the_current_output
613
- ------------------------------------------------------------------------------------
614
-  (0.1ms) rollback transaction
615
-  (0.0ms) begin transaction
616
- ----------------------------------------------------------------------------
617
- WebConsole::SlaveTest: test_#pending_output_returns_nil_on_no_pending_output
618
- ----------------------------------------------------------------------------
619
-  (0.1ms) rollback transaction
620
-  (0.0ms) begin transaction
621
- -------------------------------------------------------------------------
622
- WebConsole::SlaveTest: test_#send_input_raises_ArgumentError_on_bad_input
623
- -------------------------------------------------------------------------
624
-  (0.1ms) rollback transaction
625
-  (0.2ms) begin transaction
626
- --------------------------------------------------------------------
627
- WebConsole::ColorsTest: test_#background=_is_an_alias_of_#background
628
- --------------------------------------------------------------------
629
-  (0.1ms) rollback transaction
630
-  (0.1ms) begin transaction
631
- --------------------------------------------------------------------
632
- WebConsole::ColorsTest: test_#background_can_be_explicitly_specified
633
- --------------------------------------------------------------------
634
-  (0.0ms) rollback transaction
635
-  (0.0ms) begin transaction
636
- ----------------------------------------------------------------------------
637
- WebConsole::ColorsTest: test_#background_is_the_first_color_if_not_specified
638
- ----------------------------------------------------------------------------
639
-  (0.0ms) rollback transaction
640
-  (0.1ms) begin transaction
641
- -----------------------------------------------
642
- WebConsole::ColorsTest: test_#default_is_:light
643
- -----------------------------------------------
644
-  (0.1ms) rollback transaction
645
-  (0.1ms) begin transaction
646
- --------------------------------------------------------------------
647
- WebConsole::ColorsTest: test_#foreground=_is_an_alias_of_#foreground
648
- --------------------------------------------------------------------
649
-  (0.1ms) rollback transaction
650
-  (0.1ms) begin transaction
651
- --------------------------------------------------------------------
652
- WebConsole::ColorsTest: test_#foreground_can_be_explicitly_specified
653
- --------------------------------------------------------------------
654
-  (0.1ms) rollback transaction
655
-  (0.1ms) begin transaction
656
- ---------------------------------------------------------------------------
657
- WebConsole::ColorsTest: test_#foreground_is_the_last_color_if_not_specified
658
- ---------------------------------------------------------------------------
659
-  (0.1ms) rollback transaction
660
-  (0.1ms) begin transaction
661
- --------------------------------------------------------------------------------
662
- WebConsole::ColorsTest: test_#to_json_includes_the_background_and_the_foreground
663
- --------------------------------------------------------------------------------
664
-  (0.0ms) rollback transaction
665
-  (0.0ms) begin transaction
666
- -----------------------------------------------------------
667
- WebConsole::ColorsTest: test_.[]_is_an_alias_for_.themes#[]
668
- -----------------------------------------------------------
669
-  (0.1ms) rollback transaction
670
-  (0.0ms) begin transaction
671
- ----------------------------------------------------------------------------------
672
- WebConsole::ColorsTest: test_.register_theme_creates_Colors_instance_for_the_block
673
- ----------------------------------------------------------------------------------
674
-  (0.0ms) rollback transaction
675
-  (0.1ms) begin transaction
676
- --------------------------------------------------------------------------------------
677
- WebConsole::ConsoleSessionTest: test_can_be_used_as_slave_as_the_methods_are_delegated
678
- --------------------------------------------------------------------------------------
679
-  (0.1ms) rollback transaction
680
-  (0.0ms) begin transaction
681
- --------------------------------------------------------------------------
682
- WebConsole::ConsoleSessionTest: test_create_gives_already_persisted_models
683
- --------------------------------------------------------------------------
684
-  (0.1ms) rollback transaction
685
-  (0.0ms) begin transaction
686
- ------------------------------------------------
687
- WebConsole::ConsoleSessionTest: test_errors_aref
688
- ------------------------------------------------
689
-  (0.1ms) rollback transaction
690
-  (0.1ms) begin transaction
691
- -----------------------------------------------------
692
- WebConsole::ConsoleSessionTest: test_find_coerces_ids
693
- -----------------------------------------------------
694
-  (0.1ms) rollback transaction
695
-  (0.0ms) begin transaction
696
- -------------------------------------------------
697
- WebConsole::ConsoleSessionTest: test_model_naming
698
- -------------------------------------------------
699
-  (0.1ms) rollback transaction
700
-  (0.0ms) begin transaction
701
- ------------------------------------------------------------------
702
- WebConsole::ConsoleSessionTest: test_no_gives_not_persisted_models
703
- ------------------------------------------------------------------
704
-  (0.1ms) rollback transaction
705
-  (0.1ms) begin transaction
706
- -------------------------------------------------------------------------------
707
- WebConsole::ConsoleSessionTest: test_not_found_exceptions_are_json_serializable
708
- -------------------------------------------------------------------------------
709
-  (0.1ms) rollback transaction
710
-  (0.0ms) begin transaction
711
- -----------------------------------------------
712
- WebConsole::ConsoleSessionTest: test_persisted?
713
- -----------------------------------------------
714
-  (0.1ms) rollback transaction
715
-  (0.1ms) begin transaction
716
- ----------------------------------------------------------------------------
717
- WebConsole::ConsoleSessionTest: test_persisted_models_knows_about_their_keys
718
- ----------------------------------------------------------------------------
719
-  (0.1ms) rollback transaction
720
-  (0.1ms) begin transaction
721
- -----------------------------------------------------------------------------------
722
- WebConsole::ConsoleSessionTest: test_persisted_models_knows_that_they_are_in_memory
723
- -----------------------------------------------------------------------------------
724
-  (0.1ms) rollback transaction
725
-  (0.0ms) begin transaction
726
- ---------------------------------------------------------------------------------------------
727
- WebConsole::ConsoleSessionTest: test_raises_ConsoleSession::Unavailable_on_not_found_sessions
728
- ---------------------------------------------------------------------------------------------
729
-  (0.1ms) rollback transaction
730
-  (0.1ms) begin transaction
731
- ------------------------------------------------------------------------------
732
- WebConsole::ConsoleSessionTest: test_slave_methods_are_cached_on_the_singleton
733
- ------------------------------------------------------------------------------
734
-  (0.1ms) rollback transaction
735
-  (0.0ms) begin transaction
736
- -------------------------------------------
737
- WebConsole::ConsoleSessionTest: test_to_key
738
- -------------------------------------------
739
-  (0.1ms) rollback transaction
740
-  (0.1ms) begin transaction
741
- ---------------------------------------------
742
- WebConsole::ConsoleSessionTest: test_to_param
743
- ---------------------------------------------
744
-  (0.1ms) rollback transaction
745
-  (0.1ms) begin transaction
746
- ----------------------------------------------------
747
- WebConsole::ConsoleSessionTest: test_to_partial_path
748
- ----------------------------------------------------
749
-  (0.1ms) rollback transaction
750
-  (0.1ms) begin transaction
751
- -------------------------------------------------------------------------------------
752
- WebConsole::ConsoleSessionsControllerTest: test_GET_index_creates_new_console_session
753
- -------------------------------------------------------------------------------------
754
- Processing by WebConsole::ConsoleSessionsController#index as HTML
755
- Completed 200 OK in 43ms (Views: 41.9ms | ActiveRecord: 0.0ms)
756
-  (0.1ms) rollback transaction
757
-  (0.1ms) begin transaction
758
- -------------------------------------------------------------------------------------------------
759
- WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_gives_the_slave_pending_output
760
- -------------------------------------------------------------------------------------------------
761
- Processing by WebConsole::ConsoleSessionsController#index as HTML
762
- Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
763
- Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
764
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
765
-  (0.1ms) rollback transaction
766
-  (0.1ms) begin transaction
767
- --------------------------------------------------------------------------------------------------------
768
- WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_raises_410_on_exitted_slave_processes
769
- --------------------------------------------------------------------------------------------------------
770
- Processing by WebConsole::ConsoleSessionsController#index as HTML
771
- Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
772
- Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
773
- Completed 410 Gone in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
774
-  (0.1ms) rollback transaction
775
-  (0.1ms) begin transaction
776
- ------------------------------------------------------------------------------------------
777
- WebConsole::ConsoleSessionsControllerTest: test_PUT_configuration_adjust_the_terminal_size
778
- ------------------------------------------------------------------------------------------
779
- Processing by WebConsole::ConsoleSessionsController#index as HTML
780
- Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
781
- Processing by WebConsole::ConsoleSessionsController#configuration as HTML
782
- Unpermitted parameters: id
783
- Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
784
-  (0.1ms) rollback transaction
785
-  (0.1ms) begin transaction
786
- ----------------------------------------------------------------------------------
787
- WebConsole::ConsoleSessionsControllerTest: test_PUT_input_sends_input_to_the_slave
788
- ----------------------------------------------------------------------------------
789
- Processing by WebConsole::ConsoleSessionsController#index as HTML
790
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
791
- Processing by WebConsole::ConsoleSessionsController#input as HTML
792
- Unpermitted parameters: id
793
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
794
-  (0.1ms) rollback transaction
795
-  (0.1ms) begin transaction
796
- -------------------------------------------------------------------------------------
797
- WebConsole::ConsoleSessionsControllerTest: test_PUT_input_validates_for_missing_input
798
- -------------------------------------------------------------------------------------
799
- Processing by WebConsole::ConsoleSessionsController#index as HTML
800
- Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
801
- Processing by WebConsole::ConsoleSessionsController#input as HTML
802
- Unpermitted parameters: id
803
- Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
804
-  (0.1ms) rollback transaction
805
-  (0.1ms) begin transaction
806
- ------------------------------------------------------------------------------------
807
- WebConsole::ConsoleSessionsControllerTest: test_allows_requests_from_whitelisted_ips
808
- ------------------------------------------------------------------------------------
809
- Processing by WebConsole::ConsoleSessionsController#index as HTML
810
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
811
-  (0.1ms) rollback transaction
812
-  (0.1ms) begin transaction
813
- ----------------------------------------------------------------------------------------
814
- WebConsole::ConsoleSessionsControllerTest: test_blocks_requests_from_non-whitelisted_ips
815
- ----------------------------------------------------------------------------------------
816
- Processing by WebConsole::ConsoleSessionsController#index as HTML
817
- Filter chain halted as :prevent_unauthorized_requests! rendered or redirected
818
- Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
819
-  (0.1ms) rollback transaction
820
-  (0.1ms) begin transaction
821
- --------------------------------------------------------------------
822
- WebConsole::ConsoleSessionsControllerTest: test_index_generated_path
823
- --------------------------------------------------------------------
824
-  (0.1ms) rollback transaction
825
-  (0.1ms) begin transaction
826
- -------------------------------------------------------------------
827
- WebConsole::ConsoleSessionsControllerTest: test_index_is_successful
828
- -------------------------------------------------------------------
829
- Processing by WebConsole::ConsoleSessionsController#index as HTML
830
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
831
-  (0.1ms) rollback transaction
832
-  (0.1ms) begin transaction
833
- -----------------------------------------------------------------------------
834
- WebConsole::EngineTest: test_blank_commands_are_expanded_to_the_rails_console
835
- -----------------------------------------------------------------------------
836
-  (0.2ms) begin transaction
837
- ------------------------------------------------------
838
- WebConsole::EngineTest: test_custom_default_mount_path
839
- ------------------------------------------------------
840
-  (0.2ms) begin transaction
841
- ---------------------------------------------------
842
- WebConsole::EngineTest: test_disabling_automounting
843
- ---------------------------------------------------
844
-  (0.2ms) begin transaction
845
- ---------------------------------------------------------------
846
- WebConsole::EngineTest: test_present_commands_are_not_processed
847
- ---------------------------------------------------------------
848
-  (0.2ms) begin transaction
849
- --------------------------------------------------------
850
- WebConsole::EngineTest: test_whitelist_multiple_networks
851
- --------------------------------------------------------
852
-  (0.2ms) begin transaction
853
- -----------------------------------------------------
854
- WebConsole::EngineTest: test_whitelist_whole_networks
855
- -----------------------------------------------------
856
-  (0.2ms) begin transaction
857
- -----------------------------------------------------------------------
858
- WebConsole::EngineTest: test_whitelisted_ips.include?_coerces_to_IPAddr
859
- -----------------------------------------------------------------------
860
-  (0.2ms) begin transaction
861
- -----------------------------------------------------------------------
862
- WebConsole::EngineTest: test_whitelisted_ips.include?_works_with_IPAddr
863
- -----------------------------------------------------------------------
864
-  (0.2ms) begin transaction
865
- ------------------------------------------------------------------
866
- WebConsole::EngineTest: test_whitelisted_ips_are_courced_to_IPAddr
867
- ------------------------------------------------------------------
868
-  (0.2ms) begin transaction
869
- -----------------------------------------------------------------------------
870
- WebConsole::EngineTest: test_whitelisted_ips_are_normalized_and_unique_IPAddr
871
- -----------------------------------------------------------------------------
872
-  (0.2ms) begin transaction
873
- ----------------------------------------------------------------
874
- WebConsole::SlaveTest: test_#configure_changes_@input_dimentions
875
- ----------------------------------------------------------------
876
-  (0.1ms) rollback transaction
877
-  (0.1ms) begin transaction
878
- -------------------------------------------------------------------------------------------
879
- WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_height_is_zero
880
- -------------------------------------------------------------------------------------------
881
-  (0.1ms) rollback transaction
882
-  (0.1ms) begin transaction
883
- ------------------------------------------------------------------------------------------
884
- WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_width_is_zero
885
- ------------------------------------------------------------------------------------------
886
-  (0.1ms) rollback transaction
887
-  (0.1ms) begin transaction
888
- ---------------------------------------------------------------------------
889
- WebConsole::SlaveTest: test_#dispose!_can_reraise_Errno::ESRCH_if_requested
890
- ---------------------------------------------------------------------------
891
-  (0.1ms) rollback transaction
892
-  (0.1ms) begin transaction
893
- ----------------------------------------------------------------------------------
894
- WebConsole::SlaveTest: test_#dispose!_sends_SIGKILL_to_the_process_and_detaches_it
895
- ----------------------------------------------------------------------------------
896
-  (0.1ms) rollback transaction
897
-  (0.1ms) begin transaction
898
- --------------------------------------------------------------------------
899
- WebConsole::SlaveTest: test_#dispose_can_reraise_Errno::ESRCH_if_requested
900
- --------------------------------------------------------------------------
901
-  (0.1ms) rollback transaction
902
-  (0.0ms) begin transaction
903
- ---------------------------------------------------------------------------------
904
- WebConsole::SlaveTest: test_#dispose_sends_SIGTERM_to_the_process_and_detaches_it
905
- ---------------------------------------------------------------------------------
906
-  (0.1ms) rollback transaction
907
-  (0.0ms) begin transaction
908
- --------------------------------------------------------------------------
909
- WebConsole::SlaveTest: test_#pending_output_always_encodes_output_in_UTF-8
910
- --------------------------------------------------------------------------
911
-  (0.1ms) rollback transaction
912
-  (0.0ms) begin transaction
913
- ---------------------------------------------------------------------------------------------
914
- WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_EOFError
915
- ---------------------------------------------------------------------------------------------
916
-  (0.1ms) rollback transaction
917
-  (0.0ms) begin transaction
918
- -----------------------------------------------------------------------------------------------
919
- WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_Errno::EIO
920
- -----------------------------------------------------------------------------------------------
921
-  (0.1ms) rollback transaction
922
-  (0.0ms) begin transaction
923
- ------------------------------------------------------------------------------------
924
- WebConsole::SlaveTest: test_#pending_output_returns_a_string_with_the_current_output
925
- ------------------------------------------------------------------------------------
926
-  (0.1ms) rollback transaction
927
-  (0.0ms) begin transaction
928
- ----------------------------------------------------------------------------
929
- WebConsole::SlaveTest: test_#pending_output_returns_nil_on_no_pending_output
930
- ----------------------------------------------------------------------------
931
-  (0.1ms) rollback transaction
932
-  (0.0ms) begin transaction
933
- -------------------------------------------------------------------------
934
- WebConsole::SlaveTest: test_#send_input_raises_ArgumentError_on_bad_input
935
- -------------------------------------------------------------------------
936
-  (0.1ms) rollback transaction
937
-  (0.2ms) begin transaction
938
- --------------------------------------------------------------------
939
- WebConsole::ColorsTest: test_#background=_is_an_alias_of_#background
940
- --------------------------------------------------------------------
941
-  (0.1ms) rollback transaction
942
-  (0.1ms) begin transaction
943
- --------------------------------------------------------------------
944
- WebConsole::ColorsTest: test_#background_can_be_explicitly_specified
945
- --------------------------------------------------------------------
946
-  (0.0ms) rollback transaction
947
-  (0.0ms) begin transaction
948
- ----------------------------------------------------------------------------
949
- WebConsole::ColorsTest: test_#background_is_the_first_color_if_not_specified
950
- ----------------------------------------------------------------------------
951
-  (0.0ms) rollback transaction
952
-  (0.0ms) begin transaction
953
- -----------------------------------------------
954
- WebConsole::ColorsTest: test_#default_is_:light
955
- -----------------------------------------------
956
-  (0.0ms) rollback transaction
957
-  (0.0ms) begin transaction
958
- --------------------------------------------------------------------
959
- WebConsole::ColorsTest: test_#foreground=_is_an_alias_of_#foreground
960
- --------------------------------------------------------------------
961
-  (0.0ms) rollback transaction
962
-  (0.0ms) begin transaction
963
- --------------------------------------------------------------------
964
- WebConsole::ColorsTest: test_#foreground_can_be_explicitly_specified
965
- --------------------------------------------------------------------
966
-  (0.0ms) rollback transaction
967
-  (0.0ms) begin transaction
968
- ---------------------------------------------------------------------------
969
- WebConsole::ColorsTest: test_#foreground_is_the_last_color_if_not_specified
970
- ---------------------------------------------------------------------------
971
-  (0.0ms) rollback transaction
972
-  (0.0ms) begin transaction
973
- --------------------------------------------------------------------------------
974
- WebConsole::ColorsTest: test_#to_json_includes_the_background_and_the_foreground
975
- --------------------------------------------------------------------------------
976
-  (0.0ms) rollback transaction
977
-  (0.0ms) begin transaction
978
- -----------------------------------------------------------
979
- WebConsole::ColorsTest: test_.[]_is_an_alias_for_.themes#[]
980
- -----------------------------------------------------------
981
-  (0.1ms) rollback transaction
982
-  (0.0ms) begin transaction
983
- ----------------------------------------------------------------------------------
984
- WebConsole::ColorsTest: test_.register_theme_creates_Colors_instance_for_the_block
985
- ----------------------------------------------------------------------------------
986
-  (0.0ms) rollback transaction
987
-  (0.1ms) begin transaction
988
- --------------------------------------------------------------------------------------
989
- WebConsole::ConsoleSessionTest: test_can_be_used_as_slave_as_the_methods_are_delegated
990
- --------------------------------------------------------------------------------------
991
-  (0.1ms) rollback transaction
992
-  (0.0ms) begin transaction
993
- --------------------------------------------------------------------------
994
- WebConsole::ConsoleSessionTest: test_create_gives_already_persisted_models
995
- --------------------------------------------------------------------------
996
-  (0.1ms) rollback transaction
997
-  (0.1ms) begin transaction
998
- ------------------------------------------------
999
- WebConsole::ConsoleSessionTest: test_errors_aref
1000
- ------------------------------------------------
1001
-  (0.1ms) rollback transaction
1002
-  (0.1ms) begin transaction
1003
- -----------------------------------------------------
1004
- WebConsole::ConsoleSessionTest: test_find_coerces_ids
1005
- -----------------------------------------------------
1006
-  (0.1ms) rollback transaction
1007
-  (0.1ms) begin transaction
1008
- -------------------------------------------------
1009
- WebConsole::ConsoleSessionTest: test_model_naming
1010
- -------------------------------------------------
1011
-  (0.1ms) rollback transaction
1012
-  (0.1ms) begin transaction
1013
- ------------------------------------------------------------------
1014
- WebConsole::ConsoleSessionTest: test_no_gives_not_persisted_models
1015
- ------------------------------------------------------------------
1016
-  (0.1ms) rollback transaction
1017
-  (0.1ms) begin transaction
1018
- -------------------------------------------------------------------------------
1019
- WebConsole::ConsoleSessionTest: test_not_found_exceptions_are_json_serializable
1020
- -------------------------------------------------------------------------------
1021
-  (0.1ms) rollback transaction
1022
-  (0.1ms) begin transaction
1023
- -----------------------------------------------
1024
- WebConsole::ConsoleSessionTest: test_persisted?
1025
- -----------------------------------------------
1026
-  (0.1ms) rollback transaction
1027
-  (0.1ms) begin transaction
1028
- ----------------------------------------------------------------------------
1029
- WebConsole::ConsoleSessionTest: test_persisted_models_knows_about_their_keys
1030
- ----------------------------------------------------------------------------
1031
-  (0.1ms) rollback transaction
1032
-  (0.0ms) begin transaction
1033
- -----------------------------------------------------------------------------------
1034
- WebConsole::ConsoleSessionTest: test_persisted_models_knows_that_they_are_in_memory
1035
- -----------------------------------------------------------------------------------
1036
-  (0.1ms) rollback transaction
1037
-  (0.0ms) begin transaction
1038
- ---------------------------------------------------------------------------------------------
1039
- WebConsole::ConsoleSessionTest: test_raises_ConsoleSession::Unavailable_on_not_found_sessions
1040
- ---------------------------------------------------------------------------------------------
1041
-  (0.1ms) rollback transaction
1042
-  (0.1ms) begin transaction
1043
- ------------------------------------------------------------------------------
1044
- WebConsole::ConsoleSessionTest: test_slave_methods_are_cached_on_the_singleton
1045
- ------------------------------------------------------------------------------
1046
-  (0.1ms) rollback transaction
1047
-  (0.1ms) begin transaction
1048
- -------------------------------------------
1049
- WebConsole::ConsoleSessionTest: test_to_key
1050
- -------------------------------------------
1051
-  (0.1ms) rollback transaction
1052
-  (0.1ms) begin transaction
1053
- ---------------------------------------------
1054
- WebConsole::ConsoleSessionTest: test_to_param
1055
- ---------------------------------------------
1056
-  (0.2ms) rollback transaction
1057
-  (0.1ms) begin transaction
1058
- ----------------------------------------------------
1059
- WebConsole::ConsoleSessionTest: test_to_partial_path
1060
- ----------------------------------------------------
1061
-  (0.1ms) rollback transaction
1062
-  (0.1ms) begin transaction
1063
- -------------------------------------------------------------------------------------
1064
- WebConsole::ConsoleSessionsControllerTest: test_GET_index_creates_new_console_session
1065
- -------------------------------------------------------------------------------------
1066
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1067
- Completed 200 OK in 21ms (Views: 20.1ms | ActiveRecord: 0.0ms)
1068
-  (0.1ms) rollback transaction
1069
-  (0.0ms) begin transaction
1070
- -------------------------------------------------------------------------------------------------
1071
- WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_gives_the_slave_pending_output
1072
- -------------------------------------------------------------------------------------------------
1073
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1074
- Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
1075
- Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
1076
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1077
-  (0.1ms) rollback transaction
1078
-  (0.0ms) begin transaction
1079
- --------------------------------------------------------------------------------------------------------
1080
- WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_raises_410_on_exitted_slave_processes
1081
- --------------------------------------------------------------------------------------------------------
1082
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1083
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1084
- Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
1085
- Completed 410 Gone in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1086
-  (0.1ms) rollback transaction
1087
-  (0.0ms) begin transaction
1088
- ------------------------------------------------------------------------------------------
1089
- WebConsole::ConsoleSessionsControllerTest: test_PUT_configuration_adjust_the_terminal_size
1090
- ------------------------------------------------------------------------------------------
1091
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1092
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1093
- Processing by WebConsole::ConsoleSessionsController#configuration as HTML
1094
- Unpermitted parameters: id
1095
- Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1096
-  (0.1ms) rollback transaction
1097
-  (0.1ms) begin transaction
1098
- ----------------------------------------------------------------------------------
1099
- WebConsole::ConsoleSessionsControllerTest: test_PUT_input_sends_input_to_the_slave
1100
- ----------------------------------------------------------------------------------
1101
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1102
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1103
- Processing by WebConsole::ConsoleSessionsController#input as HTML
1104
- Unpermitted parameters: id
1105
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1106
-  (0.1ms) rollback transaction
1107
-  (0.0ms) begin transaction
1108
- -------------------------------------------------------------------------------------
1109
- WebConsole::ConsoleSessionsControllerTest: test_PUT_input_validates_for_missing_input
1110
- -------------------------------------------------------------------------------------
1111
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1112
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1113
- Processing by WebConsole::ConsoleSessionsController#input as HTML
1114
- Unpermitted parameters: id
1115
- Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1116
-  (0.1ms) rollback transaction
1117
-  (0.1ms) begin transaction
1118
- ------------------------------------------------------------------------------------
1119
- WebConsole::ConsoleSessionsControllerTest: test_allows_requests_from_whitelisted_ips
1120
- ------------------------------------------------------------------------------------
1121
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1122
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1123
-  (0.1ms) rollback transaction
1124
-  (0.0ms) begin transaction
1125
- ----------------------------------------------------------------------------------------
1126
- WebConsole::ConsoleSessionsControllerTest: test_blocks_requests_from_non-whitelisted_ips
1127
- ----------------------------------------------------------------------------------------
1128
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1129
- Filter chain halted as :prevent_unauthorized_requests! rendered or redirected
1130
- Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1131
-  (0.1ms) rollback transaction
1132
-  (0.1ms) begin transaction
1133
- --------------------------------------------------------------------
1134
- WebConsole::ConsoleSessionsControllerTest: test_index_generated_path
1135
- --------------------------------------------------------------------
1136
-  (0.1ms) rollback transaction
1137
-  (0.1ms) begin transaction
1138
- -------------------------------------------------------------------
1139
- WebConsole::ConsoleSessionsControllerTest: test_index_is_successful
1140
- -------------------------------------------------------------------
1141
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1142
- Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
1143
-  (0.1ms) rollback transaction
1144
-  (0.1ms) begin transaction
1145
- -----------------------------------------------------------------------------
1146
- WebConsole::EngineTest: test_blank_commands_are_expanded_to_the_rails_console
1147
- -----------------------------------------------------------------------------
1148
-  (0.2ms) begin transaction
1149
- ------------------------------------------------------
1150
- WebConsole::EngineTest: test_custom_default_mount_path
1151
- ------------------------------------------------------
1152
-  (0.2ms) begin transaction
1153
- ---------------------------------------------------
1154
- WebConsole::EngineTest: test_disabling_automounting
1155
- ---------------------------------------------------
1156
-  (0.2ms) begin transaction
1157
- ---------------------------------------------------------------
1158
- WebConsole::EngineTest: test_present_commands_are_not_processed
1159
- ---------------------------------------------------------------
1160
-  (0.2ms) begin transaction
1161
- --------------------------------------------------------
1162
- WebConsole::EngineTest: test_whitelist_multiple_networks
1163
- --------------------------------------------------------
1164
-  (0.2ms) begin transaction
1165
- -----------------------------------------------------
1166
- WebConsole::EngineTest: test_whitelist_whole_networks
1167
- -----------------------------------------------------
1168
-  (0.2ms) begin transaction
1169
- -----------------------------------------------------------------------
1170
- WebConsole::EngineTest: test_whitelisted_ips.include?_coerces_to_IPAddr
1171
- -----------------------------------------------------------------------
1172
-  (0.2ms) begin transaction
1173
- -----------------------------------------------------------------------
1174
- WebConsole::EngineTest: test_whitelisted_ips.include?_works_with_IPAddr
1175
- -----------------------------------------------------------------------
1176
-  (0.2ms) begin transaction
1177
- ------------------------------------------------------------------
1178
- WebConsole::EngineTest: test_whitelisted_ips_are_courced_to_IPAddr
1179
- ------------------------------------------------------------------
1180
-  (0.2ms) begin transaction
1181
- -----------------------------------------------------------------------------
1182
- WebConsole::EngineTest: test_whitelisted_ips_are_normalized_and_unique_IPAddr
1183
- -----------------------------------------------------------------------------
1184
-  (0.2ms) begin transaction
1185
- ----------------------------------------------------------------
1186
- WebConsole::SlaveTest: test_#configure_changes_@input_dimentions
1187
- ----------------------------------------------------------------
1188
-  (0.1ms) rollback transaction
1189
-  (0.0ms) begin transaction
1190
- -------------------------------------------------------------------------------------------
1191
- WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_height_is_zero
1192
- -------------------------------------------------------------------------------------------
1193
-  (0.1ms) rollback transaction
1194
-  (0.0ms) begin transaction
1195
- ------------------------------------------------------------------------------------------
1196
- WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_width_is_zero
1197
- ------------------------------------------------------------------------------------------
1198
-  (0.1ms) rollback transaction
1199
-  (0.0ms) begin transaction
1200
- ---------------------------------------------------------------------------
1201
- WebConsole::SlaveTest: test_#dispose!_can_reraise_Errno::ESRCH_if_requested
1202
- ---------------------------------------------------------------------------
1203
-  (0.1ms) rollback transaction
1204
-  (0.0ms) begin transaction
1205
- ----------------------------------------------------------------------------------
1206
- WebConsole::SlaveTest: test_#dispose!_sends_SIGKILL_to_the_process_and_detaches_it
1207
- ----------------------------------------------------------------------------------
1208
-  (0.1ms) rollback transaction
1209
-  (0.0ms) begin transaction
1210
- --------------------------------------------------------------------------
1211
- WebConsole::SlaveTest: test_#dispose_can_reraise_Errno::ESRCH_if_requested
1212
- --------------------------------------------------------------------------
1213
-  (0.1ms) rollback transaction
1214
-  (0.0ms) begin transaction
1215
- ---------------------------------------------------------------------------------
1216
- WebConsole::SlaveTest: test_#dispose_sends_SIGTERM_to_the_process_and_detaches_it
1217
- ---------------------------------------------------------------------------------
1218
-  (0.1ms) rollback transaction
1219
-  (0.0ms) begin transaction
1220
- --------------------------------------------------------------------------
1221
- WebConsole::SlaveTest: test_#pending_output_always_encodes_output_in_UTF-8
1222
- --------------------------------------------------------------------------
1223
-  (0.1ms) rollback transaction
1224
-  (0.0ms) begin transaction
1225
- ---------------------------------------------------------------------------------------------
1226
- WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_EOFError
1227
- ---------------------------------------------------------------------------------------------
1228
-  (0.1ms) rollback transaction
1229
-  (0.0ms) begin transaction
1230
- -----------------------------------------------------------------------------------------------
1231
- WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_Errno::EIO
1232
- -----------------------------------------------------------------------------------------------
1233
-  (0.1ms) rollback transaction
1234
-  (0.0ms) begin transaction
1235
- ------------------------------------------------------------------------------------
1236
- WebConsole::SlaveTest: test_#pending_output_returns_a_string_with_the_current_output
1237
- ------------------------------------------------------------------------------------
1238
-  (0.1ms) rollback transaction
1239
-  (0.0ms) begin transaction
1240
- ----------------------------------------------------------------------------
1241
- WebConsole::SlaveTest: test_#pending_output_returns_nil_on_no_pending_output
1242
- ----------------------------------------------------------------------------
1243
-  (0.1ms) rollback transaction
1244
-  (0.0ms) begin transaction
1245
- -------------------------------------------------------------------------
1246
- WebConsole::SlaveTest: test_#send_input_raises_ArgumentError_on_bad_input
1247
- -------------------------------------------------------------------------
1248
-  (0.1ms) rollback transaction
1249
-  (0.3ms) begin transaction
1250
- --------------------------------------------------------------------
1251
- WebConsole::ColorsTest: test_#background=_is_an_alias_of_#background
1252
- --------------------------------------------------------------------
1253
-  (0.1ms) rollback transaction
1254
-  (0.1ms) begin transaction
1255
- --------------------------------------------------------------------
1256
- WebConsole::ColorsTest: test_#background_can_be_explicitly_specified
1257
- --------------------------------------------------------------------
1258
-  (0.1ms) rollback transaction
1259
-  (0.1ms) begin transaction
1260
- ----------------------------------------------------------------------------
1261
- WebConsole::ColorsTest: test_#background_is_the_first_color_if_not_specified
1262
- ----------------------------------------------------------------------------
1263
-  (0.1ms) rollback transaction
1264
-  (0.1ms) begin transaction
1265
- -----------------------------------------------
1266
- WebConsole::ColorsTest: test_#default_is_:light
1267
- -----------------------------------------------
1268
-  (0.1ms) rollback transaction
1269
-  (0.0ms) begin transaction
1270
- --------------------------------------------------------------------
1271
- WebConsole::ColorsTest: test_#foreground=_is_an_alias_of_#foreground
1272
- --------------------------------------------------------------------
1273
-  (0.0ms) rollback transaction
1274
-  (0.0ms) begin transaction
1275
- --------------------------------------------------------------------
1276
- WebConsole::ColorsTest: test_#foreground_can_be_explicitly_specified
1277
- --------------------------------------------------------------------
1278
-  (0.0ms) rollback transaction
1279
-  (0.0ms) begin transaction
1280
- ---------------------------------------------------------------------------
1281
- WebConsole::ColorsTest: test_#foreground_is_the_last_color_if_not_specified
1282
- ---------------------------------------------------------------------------
1283
-  (0.0ms) rollback transaction
1284
-  (0.0ms) begin transaction
1285
- --------------------------------------------------------------------------------
1286
- WebConsole::ColorsTest: test_#to_json_includes_the_background_and_the_foreground
1287
- --------------------------------------------------------------------------------
1288
-  (0.0ms) rollback transaction
1289
-  (0.0ms) begin transaction
1290
- -----------------------------------------------------------
1291
- WebConsole::ColorsTest: test_.[]_is_an_alias_for_.themes#[]
1292
- -----------------------------------------------------------
1293
-  (0.1ms) rollback transaction
1294
-  (0.0ms) begin transaction
1295
- ----------------------------------------------------------------------------------
1296
- WebConsole::ColorsTest: test_.register_theme_creates_Colors_instance_for_the_block
1297
- ----------------------------------------------------------------------------------
1298
-  (0.0ms) rollback transaction
1299
-  (0.1ms) begin transaction
1300
- --------------------------------------------------------------------------------------
1301
- WebConsole::ConsoleSessionTest: test_can_be_used_as_slave_as_the_methods_are_delegated
1302
- --------------------------------------------------------------------------------------
1303
-  (0.1ms) rollback transaction
1304
-  (0.0ms) begin transaction
1305
- --------------------------------------------------------------------------
1306
- WebConsole::ConsoleSessionTest: test_create_gives_already_persisted_models
1307
- --------------------------------------------------------------------------
1308
-  (0.1ms) rollback transaction
1309
-  (0.0ms) begin transaction
1310
- ------------------------------------------------
1311
- WebConsole::ConsoleSessionTest: test_errors_aref
1312
- ------------------------------------------------
1313
-  (0.1ms) rollback transaction
1314
-  (0.1ms) begin transaction
1315
- -----------------------------------------------------
1316
- WebConsole::ConsoleSessionTest: test_find_coerces_ids
1317
- -----------------------------------------------------
1318
-  (0.1ms) rollback transaction
1319
-  (0.0ms) begin transaction
1320
- -------------------------------------------------
1321
- WebConsole::ConsoleSessionTest: test_model_naming
1322
- -------------------------------------------------
1323
-  (0.1ms) rollback transaction
1324
-  (0.1ms) begin transaction
1325
- ------------------------------------------------------------------
1326
- WebConsole::ConsoleSessionTest: test_no_gives_not_persisted_models
1327
- ------------------------------------------------------------------
1328
-  (0.1ms) rollback transaction
1329
-  (0.1ms) begin transaction
1330
- -------------------------------------------------------------------------------
1331
- WebConsole::ConsoleSessionTest: test_not_found_exceptions_are_json_serializable
1332
- -------------------------------------------------------------------------------
1333
-  (0.1ms) rollback transaction
1334
-  (0.0ms) begin transaction
1335
- -----------------------------------------------
1336
- WebConsole::ConsoleSessionTest: test_persisted?
1337
- -----------------------------------------------
1338
-  (0.1ms) rollback transaction
1339
-  (0.1ms) begin transaction
1340
- ----------------------------------------------------------------------------
1341
- WebConsole::ConsoleSessionTest: test_persisted_models_knows_about_their_keys
1342
- ----------------------------------------------------------------------------
1343
-  (0.1ms) rollback transaction
1344
-  (0.1ms) begin transaction
1345
- -----------------------------------------------------------------------------------
1346
- WebConsole::ConsoleSessionTest: test_persisted_models_knows_that_they_are_in_memory
1347
- -----------------------------------------------------------------------------------
1348
-  (0.1ms) rollback transaction
1349
-  (0.0ms) begin transaction
1350
- ---------------------------------------------------------------------------------------------
1351
- WebConsole::ConsoleSessionTest: test_raises_ConsoleSession::Unavailable_on_not_found_sessions
1352
- ---------------------------------------------------------------------------------------------
1353
-  (0.1ms) rollback transaction
1354
-  (0.1ms) begin transaction
1355
- ------------------------------------------------------------------------------
1356
- WebConsole::ConsoleSessionTest: test_slave_methods_are_cached_on_the_singleton
1357
- ------------------------------------------------------------------------------
1358
-  (0.1ms) rollback transaction
1359
-  (0.0ms) begin transaction
1360
- -------------------------------------------
1361
- WebConsole::ConsoleSessionTest: test_to_key
1362
- -------------------------------------------
1363
-  (0.1ms) rollback transaction
1364
-  (0.1ms) begin transaction
1365
- ---------------------------------------------
1366
- WebConsole::ConsoleSessionTest: test_to_param
1367
- ---------------------------------------------
1368
-  (0.1ms) rollback transaction
1369
-  (0.1ms) begin transaction
1370
- ----------------------------------------------------
1371
- WebConsole::ConsoleSessionTest: test_to_partial_path
1372
- ----------------------------------------------------
1373
-  (0.1ms) rollback transaction
1374
-  (0.1ms) begin transaction
1375
- -------------------------------------------------------------------------------------
1376
- WebConsole::ConsoleSessionsControllerTest: test_GET_index_creates_new_console_session
1377
- -------------------------------------------------------------------------------------
1378
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1379
- Completed 200 OK in 24ms (Views: 23.0ms | ActiveRecord: 0.0ms)
1380
-  (0.1ms) rollback transaction
1381
-  (0.1ms) begin transaction
1382
- -------------------------------------------------------------------------------------------------
1383
- WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_gives_the_slave_pending_output
1384
- -------------------------------------------------------------------------------------------------
1385
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1386
- Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
1387
- Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
1388
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1389
-  (0.1ms) rollback transaction
1390
-  (0.0ms) begin transaction
1391
- --------------------------------------------------------------------------------------------------------
1392
- WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_raises_410_on_exitted_slave_processes
1393
- --------------------------------------------------------------------------------------------------------
1394
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1395
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1396
- Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
1397
- Completed 410 Gone in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1398
-  (0.1ms) rollback transaction
1399
-  (0.0ms) begin transaction
1400
- ------------------------------------------------------------------------------------------
1401
- WebConsole::ConsoleSessionsControllerTest: test_PUT_configuration_adjust_the_terminal_size
1402
- ------------------------------------------------------------------------------------------
1403
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1404
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1405
- Processing by WebConsole::ConsoleSessionsController#configuration as HTML
1406
- Unpermitted parameters: id
1407
- Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
1408
-  (0.1ms) rollback transaction
1409
-  (0.1ms) begin transaction
1410
- ----------------------------------------------------------------------------------
1411
- WebConsole::ConsoleSessionsControllerTest: test_PUT_input_sends_input_to_the_slave
1412
- ----------------------------------------------------------------------------------
1413
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1414
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1415
- Processing by WebConsole::ConsoleSessionsController#input as HTML
1416
- Unpermitted parameters: id
1417
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1418
-  (0.1ms) rollback transaction
1419
-  (0.1ms) begin transaction
1420
- -------------------------------------------------------------------------------------
1421
- WebConsole::ConsoleSessionsControllerTest: test_PUT_input_validates_for_missing_input
1422
- -------------------------------------------------------------------------------------
1423
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1424
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1425
- Processing by WebConsole::ConsoleSessionsController#input as HTML
1426
- Unpermitted parameters: id
1427
- Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1428
-  (0.1ms) rollback transaction
1429
-  (0.1ms) begin transaction
1430
- ------------------------------------------------------------------------------------
1431
- WebConsole::ConsoleSessionsControllerTest: test_allows_requests_from_whitelisted_ips
1432
- ------------------------------------------------------------------------------------
1433
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1434
- Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
1435
-  (0.1ms) rollback transaction
1436
-  (0.1ms) begin transaction
1437
- ----------------------------------------------------------------------------------------
1438
- WebConsole::ConsoleSessionsControllerTest: test_blocks_requests_from_non-whitelisted_ips
1439
- ----------------------------------------------------------------------------------------
1440
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1441
- Filter chain halted as :prevent_unauthorized_requests! rendered or redirected
1442
- Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1443
-  (0.1ms) rollback transaction
1444
-  (0.0ms) begin transaction
1445
- --------------------------------------------------------------------
1446
- WebConsole::ConsoleSessionsControllerTest: test_index_generated_path
1447
- --------------------------------------------------------------------
1448
-  (0.1ms) rollback transaction
1449
-  (0.1ms) begin transaction
1450
- -------------------------------------------------------------------
1451
- WebConsole::ConsoleSessionsControllerTest: test_index_is_successful
1452
- -------------------------------------------------------------------
1453
- Processing by WebConsole::ConsoleSessionsController#index as HTML
1454
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1455
-  (0.1ms) rollback transaction
1456
-  (0.1ms) begin transaction
1457
- -----------------------------------------------------------------------------
1458
- WebConsole::EngineTest: test_blank_commands_are_expanded_to_the_rails_console
1459
- -----------------------------------------------------------------------------
1460
-  (0.2ms) begin transaction
1461
- ------------------------------------------------------
1462
- WebConsole::EngineTest: test_custom_default_mount_path
1463
- ------------------------------------------------------
1464
-  (0.2ms) begin transaction
1465
- ---------------------------------------------------
1466
- WebConsole::EngineTest: test_disabling_automounting
1467
- ---------------------------------------------------
1468
-  (0.2ms) begin transaction
1469
- ---------------------------------------------------------------
1470
- WebConsole::EngineTest: test_present_commands_are_not_processed
1471
- ---------------------------------------------------------------
1472
-  (0.2ms) begin transaction
1473
- --------------------------------------------------------
1474
- WebConsole::EngineTest: test_whitelist_multiple_networks
1475
- --------------------------------------------------------
1476
-  (0.2ms) begin transaction
1477
- -----------------------------------------------------
1478
- WebConsole::EngineTest: test_whitelist_whole_networks
1479
- -----------------------------------------------------
1480
-  (0.2ms) begin transaction
1481
- -----------------------------------------------------------------------
1482
- WebConsole::EngineTest: test_whitelisted_ips.include?_coerces_to_IPAddr
1483
- -----------------------------------------------------------------------
1484
-  (0.2ms) begin transaction
1485
- -----------------------------------------------------------------------
1486
- WebConsole::EngineTest: test_whitelisted_ips.include?_works_with_IPAddr
1487
- -----------------------------------------------------------------------
1488
1
   (0.2ms) begin transaction
1489
- ------------------------------------------------------------------
1490
- WebConsole::EngineTest: test_whitelisted_ips_are_courced_to_IPAddr
1491
- ------------------------------------------------------------------
1492
-  (0.2ms) begin transaction
1493
- -----------------------------------------------------------------------------
1494
- WebConsole::EngineTest: test_whitelisted_ips_are_normalized_and_unique_IPAddr
1495
- -----------------------------------------------------------------------------
1496
-  (0.2ms) begin transaction
1497
- ----------------------------------------------------------------
1498
- WebConsole::SlaveTest: test_#configure_changes_@input_dimentions
1499
- ----------------------------------------------------------------
1500
-  (0.1ms) rollback transaction
1501
-  (0.0ms) begin transaction
1502
- -------------------------------------------------------------------------------------------
1503
- WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_height_is_zero
1504
- -------------------------------------------------------------------------------------------
1505
-  (0.1ms) rollback transaction
1506
-  (0.0ms) begin transaction
1507
- ------------------------------------------------------------------------------------------
1508
- WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_width_is_zero
1509
- ------------------------------------------------------------------------------------------
1510
-  (0.1ms) rollback transaction
1511
-  (0.0ms) begin transaction
1512
- ---------------------------------------------------------------------------
1513
- WebConsole::SlaveTest: test_#dispose!_can_reraise_Errno::ESRCH_if_requested
1514
- ---------------------------------------------------------------------------
1515
-  (0.1ms) rollback transaction
1516
-  (0.0ms) begin transaction
1517
- ----------------------------------------------------------------------------------
1518
- WebConsole::SlaveTest: test_#dispose!_sends_SIGKILL_to_the_process_and_detaches_it
1519
- ----------------------------------------------------------------------------------
1520
-  (0.1ms) rollback transaction
1521
-  (0.0ms) begin transaction
1522
- --------------------------------------------------------------------------
1523
- WebConsole::SlaveTest: test_#dispose_can_reraise_Errno::ESRCH_if_requested
1524
- --------------------------------------------------------------------------
1525
-  (0.1ms) rollback transaction
1526
-  (0.0ms) begin transaction
1527
- ---------------------------------------------------------------------------------
1528
- WebConsole::SlaveTest: test_#dispose_sends_SIGTERM_to_the_process_and_detaches_it
1529
- ---------------------------------------------------------------------------------
1530
-  (0.1ms) rollback transaction
1531
-  (0.0ms) begin transaction
1532
- --------------------------------------------------------------------------
1533
- WebConsole::SlaveTest: test_#pending_output_always_encodes_output_in_UTF-8
1534
- --------------------------------------------------------------------------
1535
-  (0.1ms) rollback transaction
1536
-  (0.0ms) begin transaction
1537
- ---------------------------------------------------------------------------------------------
1538
- WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_EOFError
1539
- ---------------------------------------------------------------------------------------------
1540
-  (0.1ms) rollback transaction
1541
-  (0.0ms) begin transaction
1542
- -----------------------------------------------------------------------------------------------
1543
- WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_Errno::EIO
1544
- -----------------------------------------------------------------------------------------------
1545
-  (0.1ms) rollback transaction
1546
-  (0.0ms) begin transaction
1547
- ------------------------------------------------------------------------------------
1548
- WebConsole::SlaveTest: test_#pending_output_returns_a_string_with_the_current_output
1549
- ------------------------------------------------------------------------------------
1550
-  (0.1ms) rollback transaction
1551
-  (0.0ms) begin transaction
1552
- ----------------------------------------------------------------------------
1553
- WebConsole::SlaveTest: test_#pending_output_returns_nil_on_no_pending_output
1554
- ----------------------------------------------------------------------------
1555
-  (0.1ms) rollback transaction
1556
-  (0.0ms) begin transaction
1557
- -------------------------------------------------------------------------
1558
- WebConsole::SlaveTest: test_#send_input_raises_ArgumentError_on_bad_input
1559
- -------------------------------------------------------------------------
1560
-  (0.1ms) rollback transaction
1561
-  (0.4ms) begin transaction
1562
2
  --------------------------------------------------------------------
1563
3
  WebConsole::ColorsTest: test_#background=_is_an_alias_of_#background
1564
4
  --------------------------------------------------------------------
1565
-  (0.2ms) rollback transaction
1566
-  (0.1ms) begin transaction
5
+  (0.1ms) rollback transaction
6
+  (0.0ms) begin transaction
1567
7
  --------------------------------------------------------------------
1568
8
  WebConsole::ColorsTest: test_#background_can_be_explicitly_specified
1569
9
  --------------------------------------------------------------------
1570
-  (0.1ms) rollback transaction
1571
-  (0.1ms) begin transaction
10
+  (0.0ms) rollback transaction
11
+  (0.0ms) begin transaction
1572
12
  ----------------------------------------------------------------------------
1573
13
  WebConsole::ColorsTest: test_#background_is_the_first_color_if_not_specified
1574
14
  ----------------------------------------------------------------------------
1575
15
   (0.0ms) rollback transaction
1576
-  (0.1ms) begin transaction
16
+  (0.0ms) begin transaction
1577
17
  -----------------------------------------------
1578
18
  WebConsole::ColorsTest: test_#default_is_:light
1579
19
  -----------------------------------------------
1580
20
   (0.0ms) rollback transaction
1581
-  (0.1ms) begin transaction
21
+  (0.0ms) begin transaction
1582
22
  --------------------------------------------------------------------
1583
23
  WebConsole::ColorsTest: test_#foreground=_is_an_alias_of_#foreground
1584
24
  --------------------------------------------------------------------
1585
25
   (0.0ms) rollback transaction
1586
-  (0.1ms) begin transaction
26
+  (0.0ms) begin transaction
1587
27
  --------------------------------------------------------------------
1588
28
  WebConsole::ColorsTest: test_#foreground_can_be_explicitly_specified
1589
29
  --------------------------------------------------------------------
1590
-  (0.1ms) rollback transaction
1591
-  (0.1ms) begin transaction
30
+  (0.0ms) rollback transaction
31
+  (0.0ms) begin transaction
1592
32
  ---------------------------------------------------------------------------
1593
33
  WebConsole::ColorsTest: test_#foreground_is_the_last_color_if_not_specified
1594
34
  ---------------------------------------------------------------------------
1595
-  (0.1ms) rollback transaction
1596
-  (0.1ms) begin transaction
35
+  (0.0ms) rollback transaction
36
+  (0.0ms) begin transaction
1597
37
  --------------------------------------------------------------------------------
1598
38
  WebConsole::ColorsTest: test_#to_json_includes_the_background_and_the_foreground
1599
39
  --------------------------------------------------------------------------------
1600
-  (0.1ms) rollback transaction
1601
-  (0.1ms) begin transaction
40
+  (0.0ms) rollback transaction
41
+  (0.0ms) begin transaction
1602
42
  -----------------------------------------------------------
1603
43
  WebConsole::ColorsTest: test_.[]_is_an_alias_for_.themes#[]
1604
44
  -----------------------------------------------------------
1605
-  (0.1ms) rollback transaction
1606
-  (0.1ms) begin transaction
45
+  (0.0ms) rollback transaction
46
+  (0.0ms) begin transaction
1607
47
  ----------------------------------------------------------------------------------
1608
48
  WebConsole::ColorsTest: test_.register_theme_creates_Colors_instance_for_the_block
1609
49
  ----------------------------------------------------------------------------------
1610
50
   (0.0ms) rollback transaction
1611
-  (0.1ms) begin transaction
51
+  (0.0ms) begin transaction
1612
52
  --------------------------------------------------------------------------------------
1613
53
  WebConsole::ConsoleSessionTest: test_can_be_used_as_slave_as_the_methods_are_delegated
1614
54
  --------------------------------------------------------------------------------------
1615
-  (0.1ms) rollback transaction
1616
-  (0.1ms) begin transaction
55
+  (0.0ms) rollback transaction
56
+  (0.0ms) begin transaction
1617
57
  --------------------------------------------------------------------------
1618
58
  WebConsole::ConsoleSessionTest: test_create_gives_already_persisted_models
1619
59
  --------------------------------------------------------------------------
1620
-  (0.1ms) rollback transaction
1621
-  (0.1ms) begin transaction
60
+  (0.0ms) rollback transaction
61
+  (0.0ms) begin transaction
1622
62
  ------------------------------------------------
1623
63
  WebConsole::ConsoleSessionTest: test_errors_aref
1624
64
  ------------------------------------------------
1625
-  (0.2ms) rollback transaction
1626
-  (0.1ms) begin transaction
65
+  (0.0ms) rollback transaction
66
+  (0.0ms) begin transaction
1627
67
  -----------------------------------------------------
1628
68
  WebConsole::ConsoleSessionTest: test_find_coerces_ids
1629
69
  -----------------------------------------------------
1630
-  (0.1ms) rollback transaction
1631
-  (0.1ms) begin transaction
70
+  (0.0ms) rollback transaction
71
+  (0.0ms) begin transaction
1632
72
  -------------------------------------------------
1633
73
  WebConsole::ConsoleSessionTest: test_model_naming
1634
74
  -------------------------------------------------
1635
-  (0.1ms) rollback transaction
1636
-  (0.1ms) begin transaction
75
+  (0.0ms) rollback transaction
76
+  (0.0ms) begin transaction
1637
77
  ------------------------------------------------------------------
1638
78
  WebConsole::ConsoleSessionTest: test_no_gives_not_persisted_models
1639
79
  ------------------------------------------------------------------
1640
-  (0.1ms) rollback transaction
1641
-  (0.1ms) begin transaction
80
+  (0.0ms) rollback transaction
81
+  (0.0ms) begin transaction
1642
82
  -------------------------------------------------------------------------------
1643
83
  WebConsole::ConsoleSessionTest: test_not_found_exceptions_are_json_serializable
1644
84
  -------------------------------------------------------------------------------
1645
-  (0.1ms) rollback transaction
1646
-  (0.1ms) begin transaction
85
+  (0.0ms) rollback transaction
86
+  (0.0ms) begin transaction
1647
87
  -----------------------------------------------
1648
88
  WebConsole::ConsoleSessionTest: test_persisted?
1649
89
  -----------------------------------------------
1650
-  (0.1ms) rollback transaction
1651
-  (0.1ms) begin transaction
90
+  (0.0ms) rollback transaction
91
+  (0.0ms) begin transaction
1652
92
  ----------------------------------------------------------------------------
1653
93
  WebConsole::ConsoleSessionTest: test_persisted_models_knows_about_their_keys
1654
94
  ----------------------------------------------------------------------------
1655
-  (0.1ms) rollback transaction
1656
-  (0.1ms) begin transaction
95
+  (0.0ms) rollback transaction
96
+  (0.0ms) begin transaction
1657
97
  -----------------------------------------------------------------------------------
1658
98
  WebConsole::ConsoleSessionTest: test_persisted_models_knows_that_they_are_in_memory
1659
99
  -----------------------------------------------------------------------------------
1660
-  (0.1ms) rollback transaction
1661
-  (0.1ms) begin transaction
100
+  (0.0ms) rollback transaction
101
+  (0.0ms) begin transaction
1662
102
  ---------------------------------------------------------------------------------------------
1663
103
  WebConsole::ConsoleSessionTest: test_raises_ConsoleSession::Unavailable_on_not_found_sessions
1664
104
  ---------------------------------------------------------------------------------------------
1665
-  (0.1ms) rollback transaction
1666
-  (0.1ms) begin transaction
105
+  (0.0ms) rollback transaction
106
+  (0.0ms) begin transaction
1667
107
  ------------------------------------------------------------------------------
1668
108
  WebConsole::ConsoleSessionTest: test_slave_methods_are_cached_on_the_singleton
1669
109
  ------------------------------------------------------------------------------
1670
-  (0.1ms) rollback transaction
1671
-  (0.1ms) begin transaction
110
+  (0.0ms) rollback transaction
111
+  (0.0ms) begin transaction
1672
112
  -------------------------------------------
1673
113
  WebConsole::ConsoleSessionTest: test_to_key
1674
114
  -------------------------------------------
1675
-  (0.1ms) rollback transaction
1676
-  (0.1ms) begin transaction
115
+  (0.0ms) rollback transaction
116
+  (0.0ms) begin transaction
1677
117
  ---------------------------------------------
1678
118
  WebConsole::ConsoleSessionTest: test_to_param
1679
119
  ---------------------------------------------
1680
-  (0.1ms) rollback transaction
1681
-  (0.1ms) begin transaction
120
+  (0.0ms) rollback transaction
121
+  (0.0ms) begin transaction
1682
122
  ----------------------------------------------------
1683
123
  WebConsole::ConsoleSessionTest: test_to_partial_path
1684
124
  ----------------------------------------------------
1685
-  (0.1ms) rollback transaction
1686
-  (0.1ms) begin transaction
125
+  (0.0ms) rollback transaction
126
+  (0.0ms) begin transaction
1687
127
  -------------------------------------------------------------------------------------
1688
128
  WebConsole::ConsoleSessionsControllerTest: test_GET_index_creates_new_console_session
1689
129
  -------------------------------------------------------------------------------------
1690
130
  Processing by WebConsole::ConsoleSessionsController#index as HTML
1691
- Completed 200 OK in 66ms (Views: 65.3ms | ActiveRecord: 0.0ms)
131
+ Completed 200 OK in 44ms (Views: 43.6ms | ActiveRecord: 0.0ms)
1692
132
   (0.1ms) rollback transaction
1693
-  (0.1ms) begin transaction
133
+  (0.0ms) begin transaction
1694
134
  -------------------------------------------------------------------------------------------------
1695
135
  WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_gives_the_slave_pending_output
1696
136
  -------------------------------------------------------------------------------------------------
1697
137
  Processing by WebConsole::ConsoleSessionsController#index as HTML
1698
- Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
138
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
1699
139
  Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
1700
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1701
-  (0.1ms) rollback transaction
1702
-  (0.1ms) begin transaction
140
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
141
+  (0.0ms) rollback transaction
142
+  (0.0ms) begin transaction
1703
143
  --------------------------------------------------------------------------------------------------------
1704
144
  WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_raises_410_on_exitted_slave_processes
1705
145
  --------------------------------------------------------------------------------------------------------
1706
146
  Processing by WebConsole::ConsoleSessionsController#index as HTML
1707
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
147
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1708
148
  Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
1709
149
  Completed 410 Gone in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1710
150
   (0.1ms) rollback transaction
1711
-  (0.1ms) begin transaction
151
+  (0.0ms) begin transaction
1712
152
  ------------------------------------------------------------------------------------------
1713
153
  WebConsole::ConsoleSessionsControllerTest: test_PUT_configuration_adjust_the_terminal_size
1714
154
  ------------------------------------------------------------------------------------------
1715
155
  Processing by WebConsole::ConsoleSessionsController#index as HTML
1716
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
156
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1717
157
  Processing by WebConsole::ConsoleSessionsController#configuration as HTML
1718
- Unpermitted parameters: id
1719
- Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
158
+ Completed 500 Internal Server Error in 1ms
1720
159
   (0.1ms) rollback transaction
1721
-  (0.1ms) begin transaction
160
+  (0.0ms) begin transaction
1722
161
  ----------------------------------------------------------------------------------
1723
162
  WebConsole::ConsoleSessionsControllerTest: test_PUT_input_sends_input_to_the_slave
1724
163
  ----------------------------------------------------------------------------------
1725
164
  Processing by WebConsole::ConsoleSessionsController#index as HTML
1726
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
165
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1727
166
  Processing by WebConsole::ConsoleSessionsController#input as HTML
1728
- Unpermitted parameters: id
1729
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1730
-  (0.1ms) rollback transaction
167
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
168
+  (0.0ms) rollback transaction
1731
169
   (0.1ms) begin transaction
1732
170
  -------------------------------------------------------------------------------------
1733
171
  WebConsole::ConsoleSessionsControllerTest: test_PUT_input_validates_for_missing_input
1734
172
  -------------------------------------------------------------------------------------
1735
173
  Processing by WebConsole::ConsoleSessionsController#index as HTML
1736
- Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
174
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1737
175
  Processing by WebConsole::ConsoleSessionsController#input as HTML
1738
- Unpermitted parameters: id
1739
176
  Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1740
177
   (0.1ms) rollback transaction
1741
178
   (0.0ms) begin transaction
@@ -1743,7 +180,7 @@ Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1743
180
  WebConsole::ConsoleSessionsControllerTest: test_allows_requests_from_whitelisted_ips
1744
181
  ------------------------------------------------------------------------------------
1745
182
  Processing by WebConsole::ConsoleSessionsController#index as HTML
1746
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
183
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1747
184
   (0.1ms) rollback transaction
1748
185
   (0.1ms) begin transaction
1749
186
  ----------------------------------------------------------------------------------------
@@ -1751,37 +188,37 @@ WebConsole::ConsoleSessionsControllerTest: test_blocks_requests_from_non-whiteli
1751
188
  ----------------------------------------------------------------------------------------
1752
189
  Processing by WebConsole::ConsoleSessionsController#index as HTML
1753
190
  Filter chain halted as :prevent_unauthorized_requests! rendered or redirected
1754
- Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1755
-  (0.1ms) rollback transaction
1756
-  (0.1ms) begin transaction
191
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
192
+  (0.0ms) rollback transaction
193
+  (0.0ms) begin transaction
1757
194
  --------------------------------------------------------------------
1758
195
  WebConsole::ConsoleSessionsControllerTest: test_index_generated_path
1759
196
  --------------------------------------------------------------------
1760
197
   (0.1ms) rollback transaction
1761
-  (0.1ms) begin transaction
198
+  (0.0ms) begin transaction
1762
199
  -------------------------------------------------------------------
1763
200
  WebConsole::ConsoleSessionsControllerTest: test_index_is_successful
1764
201
  -------------------------------------------------------------------
1765
202
  Processing by WebConsole::ConsoleSessionsController#index as HTML
1766
- Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
203
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1767
204
   (0.1ms) rollback transaction
1768
-  (0.1ms) begin transaction
205
+  (0.0ms) begin transaction
1769
206
  -----------------------------------------------------------------------------
1770
207
  WebConsole::EngineTest: test_blank_commands_are_expanded_to_the_rails_console
1771
208
  -----------------------------------------------------------------------------
1772
-  (0.3ms) begin transaction
209
+  (0.2ms) begin transaction
1773
210
  ------------------------------------------------------
1774
211
  WebConsole::EngineTest: test_custom_default_mount_path
1775
212
  ------------------------------------------------------
1776
-  (0.3ms) begin transaction
213
+  (0.1ms) begin transaction
1777
214
  ---------------------------------------------------
1778
215
  WebConsole::EngineTest: test_disabling_automounting
1779
216
  ---------------------------------------------------
1780
-  (0.2ms) begin transaction
217
+  (0.1ms) begin transaction
1781
218
  ---------------------------------------------------------------
1782
219
  WebConsole::EngineTest: test_present_commands_are_not_processed
1783
220
  ---------------------------------------------------------------
1784
-  (0.2ms) begin transaction
221
+  (0.1ms) begin transaction
1785
222
  --------------------------------------------------------
1786
223
  WebConsole::EngineTest: test_whitelist_multiple_networks
1787
224
  --------------------------------------------------------
@@ -1793,89 +230,89 @@ WebConsole::EngineTest: test_whitelist_whole_networks
1793
230
  -----------------------------------------------------------------------
1794
231
  WebConsole::EngineTest: test_whitelisted_ips.include?_coerces_to_IPAddr
1795
232
  -----------------------------------------------------------------------
1796
-  (0.2ms) begin transaction
233
+  (0.1ms) begin transaction
1797
234
  -----------------------------------------------------------------------
1798
235
  WebConsole::EngineTest: test_whitelisted_ips.include?_works_with_IPAddr
1799
236
  -----------------------------------------------------------------------
1800
-  (0.2ms) begin transaction
237
+  (0.1ms) begin transaction
1801
238
  ------------------------------------------------------------------
1802
239
  WebConsole::EngineTest: test_whitelisted_ips_are_courced_to_IPAddr
1803
240
  ------------------------------------------------------------------
1804
-  (0.2ms) begin transaction
241
+  (0.1ms) begin transaction
1805
242
  -----------------------------------------------------------------------------
1806
243
  WebConsole::EngineTest: test_whitelisted_ips_are_normalized_and_unique_IPAddr
1807
244
  -----------------------------------------------------------------------------
1808
-  (0.2ms) begin transaction
245
+  (0.1ms) begin transaction
1809
246
  ----------------------------------------------------------------
1810
247
  WebConsole::SlaveTest: test_#configure_changes_@input_dimentions
1811
248
  ----------------------------------------------------------------
1812
-  (0.1ms) rollback transaction
1813
-  (0.0ms) begin transaction
249
+  (0.0ms) rollback transaction
250
+  (0.1ms) begin transaction
1814
251
  -------------------------------------------------------------------------------------------
1815
252
  WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_height_is_zero
1816
253
  -------------------------------------------------------------------------------------------
1817
-  (0.1ms) rollback transaction
254
+  (0.0ms) rollback transaction
1818
255
   (0.0ms) begin transaction
1819
256
  ------------------------------------------------------------------------------------------
1820
257
  WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_width_is_zero
1821
258
  ------------------------------------------------------------------------------------------
1822
-  (0.1ms) rollback transaction
259
+  (0.0ms) rollback transaction
1823
260
   (0.0ms) begin transaction
1824
261
  ---------------------------------------------------------------------------
1825
262
  WebConsole::SlaveTest: test_#dispose!_can_reraise_Errno::ESRCH_if_requested
1826
263
  ---------------------------------------------------------------------------
1827
-  (0.1ms) rollback transaction
264
+  (0.0ms) rollback transaction
1828
265
   (0.0ms) begin transaction
1829
266
  ----------------------------------------------------------------------------------
1830
267
  WebConsole::SlaveTest: test_#dispose!_sends_SIGKILL_to_the_process_and_detaches_it
1831
268
  ----------------------------------------------------------------------------------
1832
-  (0.1ms) rollback transaction
269
+  (0.0ms) rollback transaction
1833
270
   (0.0ms) begin transaction
1834
271
  --------------------------------------------------------------------------
1835
272
  WebConsole::SlaveTest: test_#dispose_can_reraise_Errno::ESRCH_if_requested
1836
273
  --------------------------------------------------------------------------
1837
-  (0.1ms) rollback transaction
274
+  (0.0ms) rollback transaction
1838
275
   (0.0ms) begin transaction
1839
276
  ---------------------------------------------------------------------------------
1840
277
  WebConsole::SlaveTest: test_#dispose_sends_SIGTERM_to_the_process_and_detaches_it
1841
278
  ---------------------------------------------------------------------------------
1842
-  (0.1ms) rollback transaction
1843
-  (0.0ms) begin transaction
279
+  (0.0ms) rollback transaction
280
+  (0.1ms) begin transaction
1844
281
  --------------------------------------------------------------------------
1845
282
  WebConsole::SlaveTest: test_#pending_output_always_encodes_output_in_UTF-8
1846
283
  --------------------------------------------------------------------------
1847
-  (0.1ms) rollback transaction
284
+  (0.0ms) rollback transaction
1848
285
   (0.0ms) begin transaction
1849
286
  ---------------------------------------------------------------------------------------------
1850
287
  WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_EOFError
1851
288
  ---------------------------------------------------------------------------------------------
1852
-  (0.1ms) rollback transaction
289
+  (0.0ms) rollback transaction
1853
290
   (0.0ms) begin transaction
1854
291
  -----------------------------------------------------------------------------------------------
1855
292
  WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_Errno::EIO
1856
293
  -----------------------------------------------------------------------------------------------
1857
-  (0.1ms) rollback transaction
294
+  (0.0ms) rollback transaction
1858
295
   (0.0ms) begin transaction
1859
296
  ------------------------------------------------------------------------------------
1860
297
  WebConsole::SlaveTest: test_#pending_output_returns_a_string_with_the_current_output
1861
298
  ------------------------------------------------------------------------------------
1862
-  (0.1ms) rollback transaction
299
+  (0.0ms) rollback transaction
1863
300
   (0.0ms) begin transaction
1864
301
  ----------------------------------------------------------------------------
1865
302
  WebConsole::SlaveTest: test_#pending_output_returns_nil_on_no_pending_output
1866
303
  ----------------------------------------------------------------------------
1867
-  (0.1ms) rollback transaction
304
+  (0.0ms) rollback transaction
1868
305
   (0.0ms) begin transaction
1869
306
  -------------------------------------------------------------------------
1870
307
  WebConsole::SlaveTest: test_#send_input_raises_ArgumentError_on_bad_input
1871
308
  -------------------------------------------------------------------------
1872
-  (0.1ms) rollback transaction
309
+  (0.0ms) rollback transaction
1873
310
   (0.2ms) begin transaction
1874
311
  --------------------------------------------------------------------
1875
312
  WebConsole::ColorsTest: test_#background=_is_an_alias_of_#background
1876
313
  --------------------------------------------------------------------
1877
-  (0.1ms) rollback transaction
1878
-  (0.1ms) begin transaction
314
+  (0.0ms) rollback transaction
315
+  (0.0ms) begin transaction
1879
316
  --------------------------------------------------------------------
1880
317
  WebConsole::ColorsTest: test_#background_can_be_explicitly_specified
1881
318
  --------------------------------------------------------------------
@@ -1899,7 +336,7 @@ WebConsole::ColorsTest: test_#foreground=_is_an_alias_of_#foreground
1899
336
  --------------------------------------------------------------------
1900
337
  WebConsole::ColorsTest: test_#foreground_can_be_explicitly_specified
1901
338
  --------------------------------------------------------------------
1902
-  (0.1ms) rollback transaction
339
+  (0.0ms) rollback transaction
1903
340
   (0.0ms) begin transaction
1904
341
  ---------------------------------------------------------------------------
1905
342
  WebConsole::ColorsTest: test_#foreground_is_the_last_color_if_not_specified
@@ -1914,174 +351,171 @@ WebConsole::ColorsTest: test_#to_json_includes_the_background_and_the_foreground
1914
351
  -----------------------------------------------------------
1915
352
  WebConsole::ColorsTest: test_.[]_is_an_alias_for_.themes#[]
1916
353
  -----------------------------------------------------------
1917
-  (0.1ms) rollback transaction
354
+  (0.0ms) rollback transaction
1918
355
   (0.0ms) begin transaction
1919
356
  ----------------------------------------------------------------------------------
1920
357
  WebConsole::ColorsTest: test_.register_theme_creates_Colors_instance_for_the_block
1921
358
  ----------------------------------------------------------------------------------
1922
359
   (0.0ms) rollback transaction
1923
-  (0.1ms) begin transaction
360
+  (0.0ms) begin transaction
1924
361
  --------------------------------------------------------------------------------------
1925
362
  WebConsole::ConsoleSessionTest: test_can_be_used_as_slave_as_the_methods_are_delegated
1926
363
  --------------------------------------------------------------------------------------
1927
-  (0.1ms) rollback transaction
1928
-  (0.1ms) begin transaction
364
+  (0.0ms) rollback transaction
365
+  (0.0ms) begin transaction
1929
366
  --------------------------------------------------------------------------
1930
367
  WebConsole::ConsoleSessionTest: test_create_gives_already_persisted_models
1931
368
  --------------------------------------------------------------------------
1932
-  (0.1ms) rollback transaction
1933
-  (0.1ms) begin transaction
369
+  (0.0ms) rollback transaction
370
+  (0.0ms) begin transaction
1934
371
  ------------------------------------------------
1935
372
  WebConsole::ConsoleSessionTest: test_errors_aref
1936
373
  ------------------------------------------------
1937
374
   (0.1ms) rollback transaction
1938
-  (0.1ms) begin transaction
375
+  (0.0ms) begin transaction
1939
376
  -----------------------------------------------------
1940
377
  WebConsole::ConsoleSessionTest: test_find_coerces_ids
1941
378
  -----------------------------------------------------
1942
-  (0.1ms) rollback transaction
379
+  (0.0ms) rollback transaction
1943
380
   (0.0ms) begin transaction
1944
381
  -------------------------------------------------
1945
382
  WebConsole::ConsoleSessionTest: test_model_naming
1946
383
  -------------------------------------------------
1947
-  (0.1ms) rollback transaction
1948
-  (0.1ms) begin transaction
384
+  (0.0ms) rollback transaction
385
+  (0.0ms) begin transaction
1949
386
  ------------------------------------------------------------------
1950
387
  WebConsole::ConsoleSessionTest: test_no_gives_not_persisted_models
1951
388
  ------------------------------------------------------------------
1952
-  (0.1ms) rollback transaction
1953
-  (0.1ms) begin transaction
389
+  (0.0ms) rollback transaction
390
+  (0.0ms) begin transaction
1954
391
  -------------------------------------------------------------------------------
1955
392
  WebConsole::ConsoleSessionTest: test_not_found_exceptions_are_json_serializable
1956
393
  -------------------------------------------------------------------------------
1957
-  (0.1ms) rollback transaction
394
+  (0.0ms) rollback transaction
1958
395
   (0.1ms) begin transaction
1959
396
  -----------------------------------------------
1960
397
  WebConsole::ConsoleSessionTest: test_persisted?
1961
398
  -----------------------------------------------
1962
-  (0.1ms) rollback transaction
1963
-  (0.1ms) begin transaction
399
+  (0.0ms) rollback transaction
400
+  (0.0ms) begin transaction
1964
401
  ----------------------------------------------------------------------------
1965
402
  WebConsole::ConsoleSessionTest: test_persisted_models_knows_about_their_keys
1966
403
  ----------------------------------------------------------------------------
1967
-  (0.1ms) rollback transaction
404
+  (0.0ms) rollback transaction
1968
405
   (0.0ms) begin transaction
1969
406
  -----------------------------------------------------------------------------------
1970
407
  WebConsole::ConsoleSessionTest: test_persisted_models_knows_that_they_are_in_memory
1971
408
  -----------------------------------------------------------------------------------
1972
-  (0.1ms) rollback transaction
409
+  (0.0ms) rollback transaction
1973
410
   (0.0ms) begin transaction
1974
411
  ---------------------------------------------------------------------------------------------
1975
412
  WebConsole::ConsoleSessionTest: test_raises_ConsoleSession::Unavailable_on_not_found_sessions
1976
413
  ---------------------------------------------------------------------------------------------
1977
-  (0.1ms) rollback transaction
1978
-  (0.1ms) begin transaction
414
+  (0.0ms) rollback transaction
415
+  (0.0ms) begin transaction
1979
416
  ------------------------------------------------------------------------------
1980
417
  WebConsole::ConsoleSessionTest: test_slave_methods_are_cached_on_the_singleton
1981
418
  ------------------------------------------------------------------------------
1982
-  (0.1ms) rollback transaction
1983
-  (0.1ms) begin transaction
419
+  (0.0ms) rollback transaction
420
+  (0.0ms) begin transaction
1984
421
  -------------------------------------------
1985
422
  WebConsole::ConsoleSessionTest: test_to_key
1986
423
  -------------------------------------------
1987
-  (0.3ms) rollback transaction
1988
-  (0.1ms) begin transaction
424
+  (0.0ms) rollback transaction
425
+  (0.0ms) begin transaction
1989
426
  ---------------------------------------------
1990
427
  WebConsole::ConsoleSessionTest: test_to_param
1991
428
  ---------------------------------------------
1992
-  (0.1ms) rollback transaction
1993
-  (0.1ms) begin transaction
429
+  (0.0ms) rollback transaction
430
+  (0.0ms) begin transaction
1994
431
  ----------------------------------------------------
1995
432
  WebConsole::ConsoleSessionTest: test_to_partial_path
1996
433
  ----------------------------------------------------
1997
-  (0.1ms) rollback transaction
1998
-  (0.1ms) begin transaction
434
+  (0.0ms) rollback transaction
435
+  (0.0ms) begin transaction
1999
436
  -------------------------------------------------------------------------------------
2000
437
  WebConsole::ConsoleSessionsControllerTest: test_GET_index_creates_new_console_session
2001
438
  -------------------------------------------------------------------------------------
2002
439
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2003
- Completed 200 OK in 52ms (Views: 51.4ms | ActiveRecord: 0.0ms)
440
+ Completed 200 OK in 38ms (Views: 37.1ms | ActiveRecord: 0.0ms)
2004
441
   (0.1ms) rollback transaction
2005
-  (0.1ms) begin transaction
442
+  (0.0ms) begin transaction
2006
443
  -------------------------------------------------------------------------------------------------
2007
444
  WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_gives_the_slave_pending_output
2008
445
  -------------------------------------------------------------------------------------------------
2009
446
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2010
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
447
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
2011
448
  Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
2012
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2013
-  (0.1ms) rollback transaction
449
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
450
+  (0.0ms) rollback transaction
2014
451
   (0.1ms) begin transaction
2015
452
  --------------------------------------------------------------------------------------------------------
2016
453
  WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_raises_410_on_exitted_slave_processes
2017
454
  --------------------------------------------------------------------------------------------------------
2018
455
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2019
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
456
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
2020
457
  Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
2021
458
  Completed 410 Gone in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2022
-  (0.1ms) rollback transaction
2023
-  (0.0ms) begin transaction
459
+  (0.0ms) rollback transaction
460
+  (0.1ms) begin transaction
2024
461
  ------------------------------------------------------------------------------------------
2025
462
  WebConsole::ConsoleSessionsControllerTest: test_PUT_configuration_adjust_the_terminal_size
2026
463
  ------------------------------------------------------------------------------------------
2027
464
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2028
- Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
465
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2029
466
  Processing by WebConsole::ConsoleSessionsController#configuration as HTML
2030
- Unpermitted parameters: id
2031
- Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2032
-  (0.1ms) rollback transaction
467
+ Completed 500 Internal Server Error in 1ms
468
+  (0.0ms) rollback transaction
2033
469
   (0.1ms) begin transaction
2034
470
  ----------------------------------------------------------------------------------
2035
471
  WebConsole::ConsoleSessionsControllerTest: test_PUT_input_sends_input_to_the_slave
2036
472
  ----------------------------------------------------------------------------------
2037
473
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2038
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
474
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2039
475
  Processing by WebConsole::ConsoleSessionsController#input as HTML
2040
- Unpermitted parameters: id
2041
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2042
-  (0.1ms) rollback transaction
2043
-  (0.1ms) begin transaction
476
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
477
+  (0.0ms) rollback transaction
478
+  (0.0ms) begin transaction
2044
479
  -------------------------------------------------------------------------------------
2045
480
  WebConsole::ConsoleSessionsControllerTest: test_PUT_input_validates_for_missing_input
2046
481
  -------------------------------------------------------------------------------------
2047
482
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2048
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
483
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2049
484
  Processing by WebConsole::ConsoleSessionsController#input as HTML
2050
- Unpermitted parameters: id
2051
- Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2052
-  (0.1ms) rollback transaction
2053
-  (0.1ms) begin transaction
485
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
486
+  (0.0ms) rollback transaction
487
+  (0.0ms) begin transaction
2054
488
  ------------------------------------------------------------------------------------
2055
489
  WebConsole::ConsoleSessionsControllerTest: test_allows_requests_from_whitelisted_ips
2056
490
  ------------------------------------------------------------------------------------
2057
491
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2058
- Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
2059
-  (0.1ms) rollback transaction
2060
-  (0.1ms) begin transaction
492
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
493
+  (0.0ms) rollback transaction
494
+  (0.0ms) begin transaction
2061
495
  ----------------------------------------------------------------------------------------
2062
496
  WebConsole::ConsoleSessionsControllerTest: test_blocks_requests_from_non-whitelisted_ips
2063
497
  ----------------------------------------------------------------------------------------
2064
498
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2065
499
  Filter chain halted as :prevent_unauthorized_requests! rendered or redirected
2066
- Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2067
-  (0.2ms) rollback transaction
2068
-  (0.1ms) begin transaction
500
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
501
+  (0.0ms) rollback transaction
502
+  (0.0ms) begin transaction
2069
503
  --------------------------------------------------------------------
2070
504
  WebConsole::ConsoleSessionsControllerTest: test_index_generated_path
2071
505
  --------------------------------------------------------------------
2072
-  (0.1ms) rollback transaction
2073
-  (0.1ms) begin transaction
506
+  (0.0ms) rollback transaction
507
+  (0.0ms) begin transaction
2074
508
  -------------------------------------------------------------------
2075
509
  WebConsole::ConsoleSessionsControllerTest: test_index_is_successful
2076
510
  -------------------------------------------------------------------
2077
511
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2078
- Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
2079
-  (0.1ms) rollback transaction
2080
-  (0.1ms) begin transaction
512
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
513
+  (0.0ms) rollback transaction
514
+  (0.0ms) begin transaction
2081
515
  -----------------------------------------------------------------------------
2082
516
  WebConsole::EngineTest: test_blank_commands_are_expanded_to_the_rails_console
2083
517
  -----------------------------------------------------------------------------
2084
-  (0.4ms) begin transaction
518
+  (0.2ms) begin transaction
2085
519
  ------------------------------------------------------
2086
520
  WebConsole::EngineTest: test_custom_default_mount_path
2087
521
  ------------------------------------------------------
@@ -2089,11 +523,11 @@ WebConsole::EngineTest: test_custom_default_mount_path
2089
523
  ---------------------------------------------------
2090
524
  WebConsole::EngineTest: test_disabling_automounting
2091
525
  ---------------------------------------------------
2092
-  (0.2ms) begin transaction
526
+  (0.1ms) begin transaction
2093
527
  ---------------------------------------------------------------
2094
528
  WebConsole::EngineTest: test_present_commands_are_not_processed
2095
529
  ---------------------------------------------------------------
2096
-  (0.2ms) begin transaction
530
+  (0.1ms) begin transaction
2097
531
  --------------------------------------------------------
2098
532
  WebConsole::EngineTest: test_whitelist_multiple_networks
2099
533
  --------------------------------------------------------
@@ -2109,11 +543,11 @@ WebConsole::EngineTest: test_whitelisted_ips.include?_coerces_to_IPAddr
2109
543
  -----------------------------------------------------------------------
2110
544
  WebConsole::EngineTest: test_whitelisted_ips.include?_works_with_IPAddr
2111
545
  -----------------------------------------------------------------------
2112
-  (0.2ms) begin transaction
546
+  (0.1ms) begin transaction
2113
547
  ------------------------------------------------------------------
2114
548
  WebConsole::EngineTest: test_whitelisted_ips_are_courced_to_IPAddr
2115
549
  ------------------------------------------------------------------
2116
-  (0.2ms) begin transaction
550
+  (0.1ms) begin transaction
2117
551
  -----------------------------------------------------------------------------
2118
552
  WebConsole::EngineTest: test_whitelisted_ips_are_normalized_and_unique_IPAddr
2119
553
  -----------------------------------------------------------------------------
@@ -2126,23 +560,23 @@ WebConsole::SlaveTest: test_#configure_changes_@input_dimentions
2126
560
  -------------------------------------------------------------------------------------------
2127
561
  WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_height_is_zero
2128
562
  -------------------------------------------------------------------------------------------
2129
-  (0.1ms) rollback transaction
2130
-  (0.0ms) begin transaction
563
+  (0.0ms) rollback transaction
564
+  (0.1ms) begin transaction
2131
565
  ------------------------------------------------------------------------------------------
2132
566
  WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_width_is_zero
2133
567
  ------------------------------------------------------------------------------------------
2134
-  (0.1ms) rollback transaction
568
+  (0.0ms) rollback transaction
2135
569
   (0.0ms) begin transaction
2136
570
  ---------------------------------------------------------------------------
2137
571
  WebConsole::SlaveTest: test_#dispose!_can_reraise_Errno::ESRCH_if_requested
2138
572
  ---------------------------------------------------------------------------
2139
-  (0.1ms) rollback transaction
2140
-  (0.0ms) begin transaction
573
+  (0.0ms) rollback transaction
574
+  (0.1ms) begin transaction
2141
575
  ----------------------------------------------------------------------------------
2142
576
  WebConsole::SlaveTest: test_#dispose!_sends_SIGKILL_to_the_process_and_detaches_it
2143
577
  ----------------------------------------------------------------------------------
2144
-  (0.1ms) rollback transaction
2145
-  (0.0ms) begin transaction
578
+  (0.0ms) rollback transaction
579
+  (0.1ms) begin transaction
2146
580
  --------------------------------------------------------------------------
2147
581
  WebConsole::SlaveTest: test_#dispose_can_reraise_Errno::ESRCH_if_requested
2148
582
  --------------------------------------------------------------------------
@@ -2161,38 +595,38 @@ WebConsole::SlaveTest: test_#pending_output_always_encodes_output_in_UTF-8
2161
595
  ---------------------------------------------------------------------------------------------
2162
596
  WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_EOFError
2163
597
  ---------------------------------------------------------------------------------------------
2164
-  (0.1ms) rollback transaction
598
+  (0.0ms) rollback transaction
2165
599
   (0.0ms) begin transaction
2166
600
  -----------------------------------------------------------------------------------------------
2167
601
  WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_Errno::EIO
2168
602
  -----------------------------------------------------------------------------------------------
2169
-  (0.1ms) rollback transaction
603
+  (0.0ms) rollback transaction
2170
604
   (0.0ms) begin transaction
2171
605
  ------------------------------------------------------------------------------------
2172
606
  WebConsole::SlaveTest: test_#pending_output_returns_a_string_with_the_current_output
2173
607
  ------------------------------------------------------------------------------------
2174
-  (0.1ms) rollback transaction
608
+  (0.0ms) rollback transaction
2175
609
   (0.0ms) begin transaction
2176
610
  ----------------------------------------------------------------------------
2177
611
  WebConsole::SlaveTest: test_#pending_output_returns_nil_on_no_pending_output
2178
612
  ----------------------------------------------------------------------------
2179
613
   (0.1ms) rollback transaction
2180
-  (0.0ms) begin transaction
614
+  (0.1ms) begin transaction
2181
615
  -------------------------------------------------------------------------
2182
616
  WebConsole::SlaveTest: test_#send_input_raises_ArgumentError_on_bad_input
2183
617
  -------------------------------------------------------------------------
2184
-  (0.1ms) rollback transaction
618
+  (0.0ms) rollback transaction
2185
619
   (0.3ms) begin transaction
2186
620
  --------------------------------------------------------------------
2187
621
  WebConsole::ColorsTest: test_#background=_is_an_alias_of_#background
2188
622
  --------------------------------------------------------------------
2189
-  (0.1ms) rollback transaction
623
+  (0.0ms) rollback transaction
2190
624
   (0.1ms) begin transaction
2191
625
  --------------------------------------------------------------------
2192
626
  WebConsole::ColorsTest: test_#background_can_be_explicitly_specified
2193
627
  --------------------------------------------------------------------
2194
628
   (0.0ms) rollback transaction
2195
-  (0.0ms) begin transaction
629
+  (0.1ms) begin transaction
2196
630
  ----------------------------------------------------------------------------
2197
631
  WebConsole::ColorsTest: test_#background_is_the_first_color_if_not_specified
2198
632
  ----------------------------------------------------------------------------
@@ -2226,8 +660,8 @@ WebConsole::ColorsTest: test_#to_json_includes_the_background_and_the_foreground
2226
660
  -----------------------------------------------------------
2227
661
  WebConsole::ColorsTest: test_.[]_is_an_alias_for_.themes#[]
2228
662
  -----------------------------------------------------------
2229
-  (0.1ms) rollback transaction
2230
-  (0.0ms) begin transaction
663
+  (0.0ms) rollback transaction
664
+  (0.1ms) begin transaction
2231
665
  ----------------------------------------------------------------------------------
2232
666
  WebConsole::ColorsTest: test_.register_theme_creates_Colors_instance_for_the_block
2233
667
  ----------------------------------------------------------------------------------
@@ -2236,90 +670,90 @@ WebConsole::ColorsTest: test_.register_theme_creates_Colors_instance_for_the_blo
2236
670
  --------------------------------------------------------------------------------------
2237
671
  WebConsole::ConsoleSessionTest: test_can_be_used_as_slave_as_the_methods_are_delegated
2238
672
  --------------------------------------------------------------------------------------
2239
-  (0.1ms) rollback transaction
673
+  (0.0ms) rollback transaction
2240
674
   (0.1ms) begin transaction
2241
675
  --------------------------------------------------------------------------
2242
676
  WebConsole::ConsoleSessionTest: test_create_gives_already_persisted_models
2243
677
  --------------------------------------------------------------------------
2244
-  (0.1ms) rollback transaction
678
+  (0.0ms) rollback transaction
2245
679
   (0.1ms) begin transaction
2246
680
  ------------------------------------------------
2247
681
  WebConsole::ConsoleSessionTest: test_errors_aref
2248
682
  ------------------------------------------------
2249
-  (0.1ms) rollback transaction
683
+  (0.0ms) rollback transaction
2250
684
   (0.1ms) begin transaction
2251
685
  -----------------------------------------------------
2252
686
  WebConsole::ConsoleSessionTest: test_find_coerces_ids
2253
687
  -----------------------------------------------------
2254
-  (0.1ms) rollback transaction
2255
-  (0.0ms) begin transaction
688
+  (0.0ms) rollback transaction
689
+  (0.1ms) begin transaction
2256
690
  -------------------------------------------------
2257
691
  WebConsole::ConsoleSessionTest: test_model_naming
2258
692
  -------------------------------------------------
2259
-  (0.1ms) rollback transaction
2260
-  (0.1ms) begin transaction
693
+  (0.0ms) rollback transaction
694
+  (0.0ms) begin transaction
2261
695
  ------------------------------------------------------------------
2262
696
  WebConsole::ConsoleSessionTest: test_no_gives_not_persisted_models
2263
697
  ------------------------------------------------------------------
2264
-  (0.1ms) rollback transaction
2265
-  (0.1ms) begin transaction
698
+  (0.0ms) rollback transaction
699
+  (0.0ms) begin transaction
2266
700
  -------------------------------------------------------------------------------
2267
701
  WebConsole::ConsoleSessionTest: test_not_found_exceptions_are_json_serializable
2268
702
  -------------------------------------------------------------------------------
2269
-  (0.1ms) rollback transaction
703
+  (0.0ms) rollback transaction
2270
704
   (0.1ms) begin transaction
2271
705
  -----------------------------------------------
2272
706
  WebConsole::ConsoleSessionTest: test_persisted?
2273
707
  -----------------------------------------------
2274
-  (0.1ms) rollback transaction
708
+  (0.0ms) rollback transaction
2275
709
   (0.1ms) begin transaction
2276
710
  ----------------------------------------------------------------------------
2277
711
  WebConsole::ConsoleSessionTest: test_persisted_models_knows_about_their_keys
2278
712
  ----------------------------------------------------------------------------
2279
-  (0.1ms) rollback transaction
2280
-  (0.0ms) begin transaction
713
+  (0.0ms) rollback transaction
714
+  (0.1ms) begin transaction
2281
715
  -----------------------------------------------------------------------------------
2282
716
  WebConsole::ConsoleSessionTest: test_persisted_models_knows_that_they_are_in_memory
2283
717
  -----------------------------------------------------------------------------------
2284
-  (0.1ms) rollback transaction
2285
-  (0.0ms) begin transaction
718
+  (0.0ms) rollback transaction
719
+  (0.1ms) begin transaction
2286
720
  ---------------------------------------------------------------------------------------------
2287
721
  WebConsole::ConsoleSessionTest: test_raises_ConsoleSession::Unavailable_on_not_found_sessions
2288
722
  ---------------------------------------------------------------------------------------------
2289
-  (0.1ms) rollback transaction
723
+  (0.0ms) rollback transaction
2290
724
   (0.1ms) begin transaction
2291
725
  ------------------------------------------------------------------------------
2292
726
  WebConsole::ConsoleSessionTest: test_slave_methods_are_cached_on_the_singleton
2293
727
  ------------------------------------------------------------------------------
2294
-  (0.1ms) rollback transaction
728
+  (0.0ms) rollback transaction
2295
729
   (0.1ms) begin transaction
2296
730
  -------------------------------------------
2297
731
  WebConsole::ConsoleSessionTest: test_to_key
2298
732
  -------------------------------------------
2299
-  (0.1ms) rollback transaction
733
+  (0.0ms) rollback transaction
2300
734
   (0.1ms) begin transaction
2301
735
  ---------------------------------------------
2302
736
  WebConsole::ConsoleSessionTest: test_to_param
2303
737
  ---------------------------------------------
2304
-  (0.1ms) rollback transaction
738
+  (0.0ms) rollback transaction
2305
739
   (0.1ms) begin transaction
2306
740
  ----------------------------------------------------
2307
741
  WebConsole::ConsoleSessionTest: test_to_partial_path
2308
742
  ----------------------------------------------------
2309
-  (0.1ms) rollback transaction
2310
-  (0.1ms) begin transaction
743
+  (0.0ms) rollback transaction
744
+  (0.0ms) begin transaction
2311
745
  -------------------------------------------------------------------------------------
2312
746
  WebConsole::ConsoleSessionsControllerTest: test_GET_index_creates_new_console_session
2313
747
  -------------------------------------------------------------------------------------
2314
748
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2315
- Completed 200 OK in 50ms (Views: 49.2ms | ActiveRecord: 0.0ms)
749
+ Completed 200 OK in 33ms (Views: 32.7ms | ActiveRecord: 0.0ms)
2316
750
   (0.1ms) rollback transaction
2317
751
   (0.1ms) begin transaction
2318
752
  -------------------------------------------------------------------------------------------------
2319
753
  WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_gives_the_slave_pending_output
2320
754
  -------------------------------------------------------------------------------------------------
2321
755
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2322
- Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
756
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2323
757
  Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
2324
758
  Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2325
759
   (0.1ms) rollback transaction
@@ -2328,68 +762,65 @@ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2328
762
  WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_raises_410_on_exitted_slave_processes
2329
763
  --------------------------------------------------------------------------------------------------------
2330
764
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2331
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
765
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2332
766
  Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
2333
767
  Completed 410 Gone in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2334
-  (0.1ms) rollback transaction
768
+  (0.0ms) rollback transaction
2335
769
   (0.0ms) begin transaction
2336
770
  ------------------------------------------------------------------------------------------
2337
771
  WebConsole::ConsoleSessionsControllerTest: test_PUT_configuration_adjust_the_terminal_size
2338
772
  ------------------------------------------------------------------------------------------
2339
773
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2340
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
774
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2341
775
  Processing by WebConsole::ConsoleSessionsController#configuration as HTML
2342
- Unpermitted parameters: id
2343
- Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2344
-  (0.1ms) rollback transaction
776
+ Completed 500 Internal Server Error in 1ms
777
+  (0.0ms) rollback transaction
2345
778
   (0.1ms) begin transaction
2346
779
  ----------------------------------------------------------------------------------
2347
780
  WebConsole::ConsoleSessionsControllerTest: test_PUT_input_sends_input_to_the_slave
2348
781
  ----------------------------------------------------------------------------------
2349
782
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2350
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
783
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2351
784
  Processing by WebConsole::ConsoleSessionsController#input as HTML
2352
- Unpermitted parameters: id
2353
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
785
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2354
786
   (0.1ms) rollback transaction
2355
787
   (0.0ms) begin transaction
2356
788
  -------------------------------------------------------------------------------------
2357
789
  WebConsole::ConsoleSessionsControllerTest: test_PUT_input_validates_for_missing_input
2358
790
  -------------------------------------------------------------------------------------
2359
791
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2360
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
792
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2361
793
  Processing by WebConsole::ConsoleSessionsController#input as HTML
2362
- Unpermitted parameters: id
2363
- Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2364
-  (0.1ms) rollback transaction
2365
-  (0.1ms) begin transaction
794
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
795
+  (0.0ms) rollback transaction
796
+  (0.0ms) begin transaction
2366
797
  ------------------------------------------------------------------------------------
2367
798
  WebConsole::ConsoleSessionsControllerTest: test_allows_requests_from_whitelisted_ips
2368
799
  ------------------------------------------------------------------------------------
2369
800
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2370
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
2371
-  (0.1ms) rollback transaction
801
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
802
+  (0.0ms) rollback transaction
2372
803
   (0.1ms) begin transaction
2373
804
  ----------------------------------------------------------------------------------------
2374
805
  WebConsole::ConsoleSessionsControllerTest: test_blocks_requests_from_non-whitelisted_ips
2375
806
  ----------------------------------------------------------------------------------------
2376
807
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2377
808
  Filter chain halted as :prevent_unauthorized_requests! rendered or redirected
2378
- Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2379
-  (0.1ms) rollback transaction
809
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
810
+  (0.0ms) rollback transaction
2380
811
   (0.1ms) begin transaction
2381
812
  --------------------------------------------------------------------
2382
813
  WebConsole::ConsoleSessionsControllerTest: test_index_generated_path
2383
814
  --------------------------------------------------------------------
2384
-  (0.1ms) rollback transaction
815
+  (0.0ms) rollback transaction
2385
816
   (0.1ms) begin transaction
2386
817
  -------------------------------------------------------------------
2387
818
  WebConsole::ConsoleSessionsControllerTest: test_index_is_successful
2388
819
  -------------------------------------------------------------------
2389
820
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2390
- Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
2391
-  (0.1ms) rollback transaction
2392
-  (0.1ms) begin transaction
821
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
822
+  (0.0ms) rollback transaction
823
+  (0.0ms) begin transaction
2393
824
  -----------------------------------------------------------------------------
2394
825
  WebConsole::EngineTest: test_blank_commands_are_expanded_to_the_rails_console
2395
826
  -----------------------------------------------------------------------------
@@ -2429,82 +860,82 @@ WebConsole::EngineTest: test_whitelisted_ips_are_courced_to_IPAddr
2429
860
  -----------------------------------------------------------------------------
2430
861
  WebConsole::EngineTest: test_whitelisted_ips_are_normalized_and_unique_IPAddr
2431
862
  -----------------------------------------------------------------------------
2432
-  (0.2ms) begin transaction
863
+  (0.1ms) begin transaction
2433
864
  ----------------------------------------------------------------
2434
865
  WebConsole::SlaveTest: test_#configure_changes_@input_dimentions
2435
866
  ----------------------------------------------------------------
2436
-  (0.1ms) rollback transaction
867
+  (0.0ms) rollback transaction
2437
868
   (0.0ms) begin transaction
2438
869
  -------------------------------------------------------------------------------------------
2439
870
  WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_height_is_zero
2440
871
  -------------------------------------------------------------------------------------------
2441
-  (0.1ms) rollback transaction
2442
-  (0.0ms) begin transaction
872
+  (0.0ms) rollback transaction
873
+  (0.1ms) begin transaction
2443
874
  ------------------------------------------------------------------------------------------
2444
875
  WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_width_is_zero
2445
876
  ------------------------------------------------------------------------------------------
2446
-  (0.1ms) rollback transaction
2447
-  (0.0ms) begin transaction
877
+  (0.0ms) rollback transaction
878
+  (0.1ms) begin transaction
2448
879
  ---------------------------------------------------------------------------
2449
880
  WebConsole::SlaveTest: test_#dispose!_can_reraise_Errno::ESRCH_if_requested
2450
881
  ---------------------------------------------------------------------------
2451
882
   (0.1ms) rollback transaction
2452
-  (0.0ms) begin transaction
883
+  (0.1ms) begin transaction
2453
884
  ----------------------------------------------------------------------------------
2454
885
  WebConsole::SlaveTest: test_#dispose!_sends_SIGKILL_to_the_process_and_detaches_it
2455
886
  ----------------------------------------------------------------------------------
2456
887
   (0.1ms) rollback transaction
2457
-  (0.0ms) begin transaction
888
+  (0.1ms) begin transaction
2458
889
  --------------------------------------------------------------------------
2459
890
  WebConsole::SlaveTest: test_#dispose_can_reraise_Errno::ESRCH_if_requested
2460
891
  --------------------------------------------------------------------------
2461
-  (0.1ms) rollback transaction
2462
-  (0.0ms) begin transaction
892
+  (0.0ms) rollback transaction
893
+  (0.1ms) begin transaction
2463
894
  ---------------------------------------------------------------------------------
2464
895
  WebConsole::SlaveTest: test_#dispose_sends_SIGTERM_to_the_process_and_detaches_it
2465
896
  ---------------------------------------------------------------------------------
2466
-  (0.1ms) rollback transaction
2467
-  (0.0ms) begin transaction
897
+  (0.0ms) rollback transaction
898
+  (0.1ms) begin transaction
2468
899
  --------------------------------------------------------------------------
2469
900
  WebConsole::SlaveTest: test_#pending_output_always_encodes_output_in_UTF-8
2470
901
  --------------------------------------------------------------------------
2471
-  (0.1ms) rollback transaction
2472
-  (0.0ms) begin transaction
902
+  (0.0ms) rollback transaction
903
+  (0.1ms) begin transaction
2473
904
  ---------------------------------------------------------------------------------------------
2474
905
  WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_EOFError
2475
906
  ---------------------------------------------------------------------------------------------
2476
-  (0.1ms) rollback transaction
2477
-  (0.0ms) begin transaction
907
+  (0.0ms) rollback transaction
908
+  (0.1ms) begin transaction
2478
909
  -----------------------------------------------------------------------------------------------
2479
910
  WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_Errno::EIO
2480
911
  -----------------------------------------------------------------------------------------------
2481
-  (0.1ms) rollback transaction
2482
-  (0.0ms) begin transaction
912
+  (0.0ms) rollback transaction
913
+  (0.1ms) begin transaction
2483
914
  ------------------------------------------------------------------------------------
2484
915
  WebConsole::SlaveTest: test_#pending_output_returns_a_string_with_the_current_output
2485
916
  ------------------------------------------------------------------------------------
2486
-  (0.1ms) rollback transaction
2487
-  (0.0ms) begin transaction
917
+  (0.0ms) rollback transaction
918
+  (0.1ms) begin transaction
2488
919
  ----------------------------------------------------------------------------
2489
920
  WebConsole::SlaveTest: test_#pending_output_returns_nil_on_no_pending_output
2490
921
  ----------------------------------------------------------------------------
2491
-  (0.1ms) rollback transaction
2492
-  (0.0ms) begin transaction
922
+  (0.0ms) rollback transaction
923
+  (0.1ms) begin transaction
2493
924
  -------------------------------------------------------------------------
2494
925
  WebConsole::SlaveTest: test_#send_input_raises_ArgumentError_on_bad_input
2495
926
  -------------------------------------------------------------------------
2496
-  (0.1ms) rollback transaction
2497
-  (0.3ms) begin transaction
927
+  (0.0ms) rollback transaction
928
+  (0.2ms) begin transaction
2498
929
  --------------------------------------------------------------------
2499
930
  WebConsole::ColorsTest: test_#background=_is_an_alias_of_#background
2500
931
  --------------------------------------------------------------------
2501
-  (0.1ms) rollback transaction
932
+  (0.0ms) rollback transaction
2502
933
   (0.1ms) begin transaction
2503
934
  --------------------------------------------------------------------
2504
935
  WebConsole::ColorsTest: test_#background_can_be_explicitly_specified
2505
936
  --------------------------------------------------------------------
2506
-  (0.1ms) rollback transaction
2507
-  (0.1ms) begin transaction
937
+  (0.0ms) rollback transaction
938
+  (0.0ms) begin transaction
2508
939
  ----------------------------------------------------------------------------
2509
940
  WebConsole::ColorsTest: test_#background_is_the_first_color_if_not_specified
2510
941
  ----------------------------------------------------------------------------
@@ -2529,7 +960,7 @@ WebConsole::ColorsTest: test_#foreground_can_be_explicitly_specified
2529
960
  WebConsole::ColorsTest: test_#foreground_is_the_last_color_if_not_specified
2530
961
  ---------------------------------------------------------------------------
2531
962
   (0.0ms) rollback transaction
2532
-  (0.0ms) begin transaction
963
+  (0.1ms) begin transaction
2533
964
  --------------------------------------------------------------------------------
2534
965
  WebConsole::ColorsTest: test_#to_json_includes_the_background_and_the_foreground
2535
966
  --------------------------------------------------------------------------------
@@ -2538,170 +969,167 @@ WebConsole::ColorsTest: test_#to_json_includes_the_background_and_the_foreground
2538
969
  -----------------------------------------------------------
2539
970
  WebConsole::ColorsTest: test_.[]_is_an_alias_for_.themes#[]
2540
971
  -----------------------------------------------------------
2541
-  (0.1ms) rollback transaction
972
+  (0.0ms) rollback transaction
2542
973
   (0.0ms) begin transaction
2543
974
  ----------------------------------------------------------------------------------
2544
975
  WebConsole::ColorsTest: test_.register_theme_creates_Colors_instance_for_the_block
2545
976
  ----------------------------------------------------------------------------------
2546
977
   (0.0ms) rollback transaction
2547
-  (0.1ms) begin transaction
978
+  (0.0ms) begin transaction
2548
979
  --------------------------------------------------------------------------------------
2549
980
  WebConsole::ConsoleSessionTest: test_can_be_used_as_slave_as_the_methods_are_delegated
2550
981
  --------------------------------------------------------------------------------------
2551
-  (0.1ms) rollback transaction
982
+  (0.0ms) rollback transaction
2552
983
   (0.1ms) begin transaction
2553
984
  --------------------------------------------------------------------------
2554
985
  WebConsole::ConsoleSessionTest: test_create_gives_already_persisted_models
2555
986
  --------------------------------------------------------------------------
2556
-  (0.1ms) rollback transaction
2557
-  (0.0ms) begin transaction
987
+  (0.0ms) rollback transaction
988
+  (0.1ms) begin transaction
2558
989
  ------------------------------------------------
2559
990
  WebConsole::ConsoleSessionTest: test_errors_aref
2560
991
  ------------------------------------------------
2561
-  (0.1ms) rollback transaction
992
+  (0.0ms) rollback transaction
2562
993
   (0.1ms) begin transaction
2563
994
  -----------------------------------------------------
2564
995
  WebConsole::ConsoleSessionTest: test_find_coerces_ids
2565
996
  -----------------------------------------------------
2566
-  (0.1ms) rollback transaction
2567
-  (0.0ms) begin transaction
997
+  (0.0ms) rollback transaction
998
+  (0.1ms) begin transaction
2568
999
  -------------------------------------------------
2569
1000
  WebConsole::ConsoleSessionTest: test_model_naming
2570
1001
  -------------------------------------------------
2571
-  (0.1ms) rollback transaction
1002
+  (0.0ms) rollback transaction
2572
1003
   (0.1ms) begin transaction
2573
1004
  ------------------------------------------------------------------
2574
1005
  WebConsole::ConsoleSessionTest: test_no_gives_not_persisted_models
2575
1006
  ------------------------------------------------------------------
2576
-  (0.1ms) rollback transaction
1007
+  (0.0ms) rollback transaction
2577
1008
   (0.1ms) begin transaction
2578
1009
  -------------------------------------------------------------------------------
2579
1010
  WebConsole::ConsoleSessionTest: test_not_found_exceptions_are_json_serializable
2580
1011
  -------------------------------------------------------------------------------
2581
-  (0.1ms) rollback transaction
1012
+  (0.0ms) rollback transaction
2582
1013
   (0.1ms) begin transaction
2583
1014
  -----------------------------------------------
2584
1015
  WebConsole::ConsoleSessionTest: test_persisted?
2585
1016
  -----------------------------------------------
2586
-  (0.1ms) rollback transaction
1017
+  (0.0ms) rollback transaction
2587
1018
   (0.1ms) begin transaction
2588
1019
  ----------------------------------------------------------------------------
2589
1020
  WebConsole::ConsoleSessionTest: test_persisted_models_knows_about_their_keys
2590
1021
  ----------------------------------------------------------------------------
2591
-  (0.1ms) rollback transaction
2592
-  (0.1ms) begin transaction
1022
+  (0.0ms) rollback transaction
1023
+  (0.0ms) begin transaction
2593
1024
  -----------------------------------------------------------------------------------
2594
1025
  WebConsole::ConsoleSessionTest: test_persisted_models_knows_that_they_are_in_memory
2595
1026
  -----------------------------------------------------------------------------------
2596
-  (0.1ms) rollback transaction
2597
-  (0.0ms) begin transaction
1027
+  (0.0ms) rollback transaction
1028
+  (0.1ms) begin transaction
2598
1029
  ---------------------------------------------------------------------------------------------
2599
1030
  WebConsole::ConsoleSessionTest: test_raises_ConsoleSession::Unavailable_on_not_found_sessions
2600
1031
  ---------------------------------------------------------------------------------------------
2601
-  (0.1ms) rollback transaction
2602
-  (0.1ms) begin transaction
1032
+  (0.0ms) rollback transaction
1033
+  (0.0ms) begin transaction
2603
1034
  ------------------------------------------------------------------------------
2604
1035
  WebConsole::ConsoleSessionTest: test_slave_methods_are_cached_on_the_singleton
2605
1036
  ------------------------------------------------------------------------------
2606
-  (0.1ms) rollback transaction
2607
-  (0.1ms) begin transaction
1037
+  (0.0ms) rollback transaction
1038
+  (0.0ms) begin transaction
2608
1039
  -------------------------------------------
2609
1040
  WebConsole::ConsoleSessionTest: test_to_key
2610
1041
  -------------------------------------------
2611
-  (0.1ms) rollback transaction
2612
-  (0.1ms) begin transaction
1042
+  (0.0ms) rollback transaction
1043
+  (0.0ms) begin transaction
2613
1044
  ---------------------------------------------
2614
1045
  WebConsole::ConsoleSessionTest: test_to_param
2615
1046
  ---------------------------------------------
2616
-  (0.1ms) rollback transaction
2617
-  (0.1ms) begin transaction
1047
+  (0.0ms) rollback transaction
1048
+  (0.0ms) begin transaction
2618
1049
  ----------------------------------------------------
2619
1050
  WebConsole::ConsoleSessionTest: test_to_partial_path
2620
1051
  ----------------------------------------------------
2621
-  (0.1ms) rollback transaction
2622
-  (0.1ms) begin transaction
1052
+  (0.0ms) rollback transaction
1053
+  (0.0ms) begin transaction
2623
1054
  -------------------------------------------------------------------------------------
2624
1055
  WebConsole::ConsoleSessionsControllerTest: test_GET_index_creates_new_console_session
2625
1056
  -------------------------------------------------------------------------------------
2626
1057
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2627
- Completed 200 OK in 51ms (Views: 49.8ms | ActiveRecord: 0.0ms)
1058
+ Completed 200 OK in 33ms (Views: 32.1ms | ActiveRecord: 0.0ms)
2628
1059
   (0.1ms) rollback transaction
2629
1060
   (0.1ms) begin transaction
2630
1061
  -------------------------------------------------------------------------------------------------
2631
1062
  WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_gives_the_slave_pending_output
2632
1063
  -------------------------------------------------------------------------------------------------
2633
1064
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2634
- Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
1065
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
2635
1066
  Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
2636
1067
  Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2637
1068
   (0.1ms) rollback transaction
2638
-  (0.1ms) begin transaction
1069
+  (0.0ms) begin transaction
2639
1070
  --------------------------------------------------------------------------------------------------------
2640
1071
  WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_raises_410_on_exitted_slave_processes
2641
1072
  --------------------------------------------------------------------------------------------------------
2642
1073
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2643
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1074
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2644
1075
  Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
2645
1076
  Completed 410 Gone in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2646
-  (0.1ms) rollback transaction
1077
+  (0.0ms) rollback transaction
2647
1078
   (0.1ms) begin transaction
2648
1079
  ------------------------------------------------------------------------------------------
2649
1080
  WebConsole::ConsoleSessionsControllerTest: test_PUT_configuration_adjust_the_terminal_size
2650
1081
  ------------------------------------------------------------------------------------------
2651
1082
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2652
- Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
1083
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2653
1084
  Processing by WebConsole::ConsoleSessionsController#configuration as HTML
2654
- Unpermitted parameters: id
2655
- Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2656
-  (0.1ms) rollback transaction
1085
+ Completed 500 Internal Server Error in 1ms
1086
+  (0.0ms) rollback transaction
2657
1087
   (0.1ms) begin transaction
2658
1088
  ----------------------------------------------------------------------------------
2659
1089
  WebConsole::ConsoleSessionsControllerTest: test_PUT_input_sends_input_to_the_slave
2660
1090
  ----------------------------------------------------------------------------------
2661
1091
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2662
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1092
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2663
1093
  Processing by WebConsole::ConsoleSessionsController#input as HTML
2664
- Unpermitted parameters: id
2665
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2666
-  (0.1ms) rollback transaction
2667
-  (0.0ms) begin transaction
1094
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1095
+  (0.0ms) rollback transaction
1096
+  (0.1ms) begin transaction
2668
1097
  -------------------------------------------------------------------------------------
2669
1098
  WebConsole::ConsoleSessionsControllerTest: test_PUT_input_validates_for_missing_input
2670
1099
  -------------------------------------------------------------------------------------
2671
1100
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2672
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1101
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2673
1102
  Processing by WebConsole::ConsoleSessionsController#input as HTML
2674
- Unpermitted parameters: id
2675
- Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2676
-  (0.1ms) rollback transaction
2677
-  (0.0ms) begin transaction
1103
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1104
+  (0.0ms) rollback transaction
1105
+  (0.1ms) begin transaction
2678
1106
  ------------------------------------------------------------------------------------
2679
1107
  WebConsole::ConsoleSessionsControllerTest: test_allows_requests_from_whitelisted_ips
2680
1108
  ------------------------------------------------------------------------------------
2681
1109
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2682
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
2683
-  (0.1ms) rollback transaction
1110
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1111
+  (0.0ms) rollback transaction
2684
1112
   (0.1ms) begin transaction
2685
1113
  ----------------------------------------------------------------------------------------
2686
1114
  WebConsole::ConsoleSessionsControllerTest: test_blocks_requests_from_non-whitelisted_ips
2687
1115
  ----------------------------------------------------------------------------------------
2688
1116
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2689
1117
  Filter chain halted as :prevent_unauthorized_requests! rendered or redirected
2690
- Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2691
-  (0.1ms) rollback transaction
1118
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1119
+  (0.0ms) rollback transaction
2692
1120
   (0.1ms) begin transaction
2693
1121
  --------------------------------------------------------------------
2694
1122
  WebConsole::ConsoleSessionsControllerTest: test_index_generated_path
2695
1123
  --------------------------------------------------------------------
2696
-  (0.1ms) rollback transaction
1124
+  (0.0ms) rollback transaction
2697
1125
   (0.1ms) begin transaction
2698
1126
  -------------------------------------------------------------------
2699
1127
  WebConsole::ConsoleSessionsControllerTest: test_index_is_successful
2700
1128
  -------------------------------------------------------------------
2701
1129
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2702
- Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
2703
-  (0.1ms) rollback transaction
2704
-  (0.1ms) begin transaction
1130
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1131
+  (0.0ms) rollback transaction
1132
+  (0.0ms) begin transaction
2705
1133
  -----------------------------------------------------------------------------
2706
1134
  WebConsole::EngineTest: test_blank_commands_are_expanded_to_the_rails_console
2707
1135
  -----------------------------------------------------------------------------
@@ -2721,7 +1149,7 @@ WebConsole::EngineTest: test_present_commands_are_not_processed
2721
1149
  --------------------------------------------------------
2722
1150
  WebConsole::EngineTest: test_whitelist_multiple_networks
2723
1151
  --------------------------------------------------------
2724
-  (0.3ms) begin transaction
1152
+  (0.2ms) begin transaction
2725
1153
  -----------------------------------------------------
2726
1154
  WebConsole::EngineTest: test_whitelist_whole_networks
2727
1155
  -----------------------------------------------------
@@ -2741,72 +1169,72 @@ WebConsole::EngineTest: test_whitelisted_ips_are_courced_to_IPAddr
2741
1169
  -----------------------------------------------------------------------------
2742
1170
  WebConsole::EngineTest: test_whitelisted_ips_are_normalized_and_unique_IPAddr
2743
1171
  -----------------------------------------------------------------------------
2744
-  (0.2ms) begin transaction
1172
+  (0.1ms) begin transaction
2745
1173
  ----------------------------------------------------------------
2746
1174
  WebConsole::SlaveTest: test_#configure_changes_@input_dimentions
2747
1175
  ----------------------------------------------------------------
2748
-  (0.1ms) rollback transaction
1176
+  (0.0ms) rollback transaction
2749
1177
   (0.1ms) begin transaction
2750
1178
  -------------------------------------------------------------------------------------------
2751
1179
  WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_height_is_zero
2752
1180
  -------------------------------------------------------------------------------------------
2753
-  (0.1ms) rollback transaction
1181
+  (0.0ms) rollback transaction
2754
1182
   (0.1ms) begin transaction
2755
1183
  ------------------------------------------------------------------------------------------
2756
1184
  WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_width_is_zero
2757
1185
  ------------------------------------------------------------------------------------------
2758
-  (0.1ms) rollback transaction
2759
-  (0.0ms) begin transaction
1186
+  (0.0ms) rollback transaction
1187
+  (0.1ms) begin transaction
2760
1188
  ---------------------------------------------------------------------------
2761
1189
  WebConsole::SlaveTest: test_#dispose!_can_reraise_Errno::ESRCH_if_requested
2762
1190
  ---------------------------------------------------------------------------
2763
-  (0.1ms) rollback transaction
1191
+  (0.0ms) rollback transaction
2764
1192
   (0.1ms) begin transaction
2765
1193
  ----------------------------------------------------------------------------------
2766
1194
  WebConsole::SlaveTest: test_#dispose!_sends_SIGKILL_to_the_process_and_detaches_it
2767
1195
  ----------------------------------------------------------------------------------
2768
-  (0.1ms) rollback transaction
1196
+  (0.0ms) rollback transaction
2769
1197
   (0.1ms) begin transaction
2770
1198
  --------------------------------------------------------------------------
2771
1199
  WebConsole::SlaveTest: test_#dispose_can_reraise_Errno::ESRCH_if_requested
2772
1200
  --------------------------------------------------------------------------
2773
-  (0.1ms) rollback transaction
1201
+  (0.0ms) rollback transaction
2774
1202
   (0.0ms) begin transaction
2775
1203
  ---------------------------------------------------------------------------------
2776
1204
  WebConsole::SlaveTest: test_#dispose_sends_SIGTERM_to_the_process_and_detaches_it
2777
1205
  ---------------------------------------------------------------------------------
2778
-  (0.1ms) rollback transaction
2779
-  (0.0ms) begin transaction
1206
+  (0.0ms) rollback transaction
1207
+  (0.1ms) begin transaction
2780
1208
  --------------------------------------------------------------------------
2781
1209
  WebConsole::SlaveTest: test_#pending_output_always_encodes_output_in_UTF-8
2782
1210
  --------------------------------------------------------------------------
2783
-  (0.1ms) rollback transaction
2784
-  (0.0ms) begin transaction
1211
+  (0.0ms) rollback transaction
1212
+  (0.1ms) begin transaction
2785
1213
  ---------------------------------------------------------------------------------------------
2786
1214
  WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_EOFError
2787
1215
  ---------------------------------------------------------------------------------------------
2788
-  (0.1ms) rollback transaction
2789
-  (0.0ms) begin transaction
1216
+  (0.0ms) rollback transaction
1217
+  (0.1ms) begin transaction
2790
1218
  -----------------------------------------------------------------------------------------------
2791
1219
  WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_Errno::EIO
2792
1220
  -----------------------------------------------------------------------------------------------
2793
-  (0.1ms) rollback transaction
2794
-  (0.0ms) begin transaction
1221
+  (0.0ms) rollback transaction
1222
+  (0.1ms) begin transaction
2795
1223
  ------------------------------------------------------------------------------------
2796
1224
  WebConsole::SlaveTest: test_#pending_output_returns_a_string_with_the_current_output
2797
1225
  ------------------------------------------------------------------------------------
2798
-  (0.1ms) rollback transaction
2799
-  (0.0ms) begin transaction
1226
+  (0.0ms) rollback transaction
1227
+  (0.1ms) begin transaction
2800
1228
  ----------------------------------------------------------------------------
2801
1229
  WebConsole::SlaveTest: test_#pending_output_returns_nil_on_no_pending_output
2802
1230
  ----------------------------------------------------------------------------
2803
-  (0.1ms) rollback transaction
2804
-  (0.0ms) begin transaction
1231
+  (0.0ms) rollback transaction
1232
+  (0.1ms) begin transaction
2805
1233
  -------------------------------------------------------------------------
2806
1234
  WebConsole::SlaveTest: test_#send_input_raises_ArgumentError_on_bad_input
2807
1235
  -------------------------------------------------------------------------
2808
1236
   (0.1ms) rollback transaction
2809
-  (0.3ms) begin transaction
1237
+  (0.2ms) begin transaction
2810
1238
  --------------------------------------------------------------------
2811
1239
  WebConsole::ColorsTest: test_#background=_is_an_alias_of_#background
2812
1240
  --------------------------------------------------------------------
@@ -2815,18 +1243,18 @@ WebConsole::ColorsTest: test_#background=_is_an_alias_of_#background
2815
1243
  --------------------------------------------------------------------
2816
1244
  WebConsole::ColorsTest: test_#background_can_be_explicitly_specified
2817
1245
  --------------------------------------------------------------------
2818
-  (0.1ms) rollback transaction
1246
+  (0.0ms) rollback transaction
2819
1247
   (0.1ms) begin transaction
2820
1248
  ----------------------------------------------------------------------------
2821
1249
  WebConsole::ColorsTest: test_#background_is_the_first_color_if_not_specified
2822
1250
  ----------------------------------------------------------------------------
2823
1251
   (0.0ms) rollback transaction
2824
-  (0.0ms) begin transaction
1252
+  (0.1ms) begin transaction
2825
1253
  -----------------------------------------------
2826
1254
  WebConsole::ColorsTest: test_#default_is_:light
2827
1255
  -----------------------------------------------
2828
-  (0.1ms) rollback transaction
2829
-  (0.0ms) begin transaction
1256
+  (0.0ms) rollback transaction
1257
+  (0.1ms) begin transaction
2830
1258
  --------------------------------------------------------------------
2831
1259
  WebConsole::ColorsTest: test_#foreground=_is_an_alias_of_#foreground
2832
1260
  --------------------------------------------------------------------
@@ -2836,183 +1264,180 @@ WebConsole::ColorsTest: test_#foreground=_is_an_alias_of_#foreground
2836
1264
  WebConsole::ColorsTest: test_#foreground_can_be_explicitly_specified
2837
1265
  --------------------------------------------------------------------
2838
1266
   (0.0ms) rollback transaction
2839
-  (0.0ms) begin transaction
1267
+  (0.1ms) begin transaction
2840
1268
  ---------------------------------------------------------------------------
2841
1269
  WebConsole::ColorsTest: test_#foreground_is_the_last_color_if_not_specified
2842
1270
  ---------------------------------------------------------------------------
2843
1271
   (0.0ms) rollback transaction
2844
-  (0.0ms) begin transaction
1272
+  (0.1ms) begin transaction
2845
1273
  --------------------------------------------------------------------------------
2846
1274
  WebConsole::ColorsTest: test_#to_json_includes_the_background_and_the_foreground
2847
1275
  --------------------------------------------------------------------------------
2848
1276
   (0.0ms) rollback transaction
2849
-  (0.0ms) begin transaction
1277
+  (0.1ms) begin transaction
2850
1278
  -----------------------------------------------------------
2851
1279
  WebConsole::ColorsTest: test_.[]_is_an_alias_for_.themes#[]
2852
1280
  -----------------------------------------------------------
2853
-  (0.1ms) rollback transaction
2854
-  (0.0ms) begin transaction
1281
+  (0.0ms) rollback transaction
1282
+  (0.1ms) begin transaction
2855
1283
  ----------------------------------------------------------------------------------
2856
1284
  WebConsole::ColorsTest: test_.register_theme_creates_Colors_instance_for_the_block
2857
1285
  ----------------------------------------------------------------------------------
2858
1286
   (0.0ms) rollback transaction
2859
-  (0.1ms) begin transaction
1287
+  (0.0ms) begin transaction
2860
1288
  --------------------------------------------------------------------------------------
2861
1289
  WebConsole::ConsoleSessionTest: test_can_be_used_as_slave_as_the_methods_are_delegated
2862
1290
  --------------------------------------------------------------------------------------
2863
-  (0.1ms) rollback transaction
1291
+  (0.0ms) rollback transaction
2864
1292
   (0.1ms) begin transaction
2865
1293
  --------------------------------------------------------------------------
2866
1294
  WebConsole::ConsoleSessionTest: test_create_gives_already_persisted_models
2867
1295
  --------------------------------------------------------------------------
2868
-  (0.1ms) rollback transaction
1296
+  (0.0ms) rollback transaction
2869
1297
   (0.1ms) begin transaction
2870
1298
  ------------------------------------------------
2871
1299
  WebConsole::ConsoleSessionTest: test_errors_aref
2872
1300
  ------------------------------------------------
2873
-  (0.1ms) rollback transaction
1301
+  (0.0ms) rollback transaction
2874
1302
   (0.1ms) begin transaction
2875
1303
  -----------------------------------------------------
2876
1304
  WebConsole::ConsoleSessionTest: test_find_coerces_ids
2877
1305
  -----------------------------------------------------
2878
-  (0.1ms) rollback transaction
1306
+  (0.0ms) rollback transaction
2879
1307
   (0.1ms) begin transaction
2880
1308
  -------------------------------------------------
2881
1309
  WebConsole::ConsoleSessionTest: test_model_naming
2882
1310
  -------------------------------------------------
2883
-  (0.1ms) rollback transaction
1311
+  (0.0ms) rollback transaction
2884
1312
   (0.1ms) begin transaction
2885
1313
  ------------------------------------------------------------------
2886
1314
  WebConsole::ConsoleSessionTest: test_no_gives_not_persisted_models
2887
1315
  ------------------------------------------------------------------
2888
-  (0.1ms) rollback transaction
1316
+  (0.0ms) rollback transaction
2889
1317
   (0.1ms) begin transaction
2890
1318
  -------------------------------------------------------------------------------
2891
1319
  WebConsole::ConsoleSessionTest: test_not_found_exceptions_are_json_serializable
2892
1320
  -------------------------------------------------------------------------------
2893
-  (0.1ms) rollback transaction
1321
+  (0.0ms) rollback transaction
2894
1322
   (0.1ms) begin transaction
2895
1323
  -----------------------------------------------
2896
1324
  WebConsole::ConsoleSessionTest: test_persisted?
2897
1325
  -----------------------------------------------
2898
-  (0.1ms) rollback transaction
2899
-  (0.0ms) begin transaction
1326
+  (0.0ms) rollback transaction
1327
+  (0.1ms) begin transaction
2900
1328
  ----------------------------------------------------------------------------
2901
1329
  WebConsole::ConsoleSessionTest: test_persisted_models_knows_about_their_keys
2902
1330
  ----------------------------------------------------------------------------
2903
-  (0.1ms) rollback transaction
2904
-  (0.0ms) begin transaction
1331
+  (0.0ms) rollback transaction
1332
+  (0.1ms) begin transaction
2905
1333
  -----------------------------------------------------------------------------------
2906
1334
  WebConsole::ConsoleSessionTest: test_persisted_models_knows_that_they_are_in_memory
2907
1335
  -----------------------------------------------------------------------------------
2908
-  (0.2ms) rollback transaction
1336
+  (0.0ms) rollback transaction
2909
1337
   (0.1ms) begin transaction
2910
1338
  ---------------------------------------------------------------------------------------------
2911
1339
  WebConsole::ConsoleSessionTest: test_raises_ConsoleSession::Unavailable_on_not_found_sessions
2912
1340
  ---------------------------------------------------------------------------------------------
2913
-  (0.1ms) rollback transaction
2914
-  (0.0ms) begin transaction
1341
+  (0.0ms) rollback transaction
1342
+  (0.1ms) begin transaction
2915
1343
  ------------------------------------------------------------------------------
2916
1344
  WebConsole::ConsoleSessionTest: test_slave_methods_are_cached_on_the_singleton
2917
1345
  ------------------------------------------------------------------------------
2918
-  (0.1ms) rollback transaction
1346
+  (0.0ms) rollback transaction
2919
1347
   (0.1ms) begin transaction
2920
1348
  -------------------------------------------
2921
1349
  WebConsole::ConsoleSessionTest: test_to_key
2922
1350
  -------------------------------------------
2923
-  (0.1ms) rollback transaction
2924
-  (0.0ms) begin transaction
1351
+  (0.0ms) rollback transaction
1352
+  (0.1ms) begin transaction
2925
1353
  ---------------------------------------------
2926
1354
  WebConsole::ConsoleSessionTest: test_to_param
2927
1355
  ---------------------------------------------
2928
-  (0.1ms) rollback transaction
2929
-  (0.1ms) begin transaction
1356
+  (0.0ms) rollback transaction
1357
+  (0.0ms) begin transaction
2930
1358
  ----------------------------------------------------
2931
1359
  WebConsole::ConsoleSessionTest: test_to_partial_path
2932
1360
  ----------------------------------------------------
2933
-  (0.1ms) rollback transaction
1361
+  (0.0ms) rollback transaction
2934
1362
   (0.0ms) begin transaction
2935
1363
  -------------------------------------------------------------------------------------
2936
1364
  WebConsole::ConsoleSessionsControllerTest: test_GET_index_creates_new_console_session
2937
1365
  -------------------------------------------------------------------------------------
2938
1366
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2939
- Completed 200 OK in 99ms (Views: 98.4ms | ActiveRecord: 0.0ms)
1367
+ Completed 200 OK in 34ms (Views: 33.6ms | ActiveRecord: 0.0ms)
2940
1368
   (0.1ms) rollback transaction
2941
-  (0.1ms) begin transaction
1369
+  (0.0ms) begin transaction
2942
1370
  -------------------------------------------------------------------------------------------------
2943
1371
  WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_gives_the_slave_pending_output
2944
1372
  -------------------------------------------------------------------------------------------------
2945
1373
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2946
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1374
+ Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
2947
1375
  Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
2948
1376
  Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2949
1377
   (0.1ms) rollback transaction
2950
-  (0.0ms) begin transaction
1378
+  (0.1ms) begin transaction
2951
1379
  --------------------------------------------------------------------------------------------------------
2952
1380
  WebConsole::ConsoleSessionsControllerTest: test_GET_pending_output_raises_410_on_exitted_slave_processes
2953
1381
  --------------------------------------------------------------------------------------------------------
2954
1382
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2955
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1383
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2956
1384
  Processing by WebConsole::ConsoleSessionsController#pending_output as HTML
2957
- Completed 410 Gone in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2958
-  (0.1ms) rollback transaction
1385
+ Completed 410 Gone in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1386
+  (0.0ms) rollback transaction
2959
1387
   (0.0ms) begin transaction
2960
1388
  ------------------------------------------------------------------------------------------
2961
1389
  WebConsole::ConsoleSessionsControllerTest: test_PUT_configuration_adjust_the_terminal_size
2962
1390
  ------------------------------------------------------------------------------------------
2963
1391
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2964
- Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
1392
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2965
1393
  Processing by WebConsole::ConsoleSessionsController#configuration as HTML
2966
- Unpermitted parameters: id
2967
- Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2968
-  (0.1ms) rollback transaction
1394
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1395
+  (0.0ms) rollback transaction
2969
1396
   (0.1ms) begin transaction
2970
1397
  ----------------------------------------------------------------------------------
2971
1398
  WebConsole::ConsoleSessionsControllerTest: test_PUT_input_sends_input_to_the_slave
2972
1399
  ----------------------------------------------------------------------------------
2973
1400
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2974
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1401
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2975
1402
  Processing by WebConsole::ConsoleSessionsController#input as HTML
2976
- Unpermitted parameters: id
2977
- Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
2978
-  (0.2ms) rollback transaction
2979
-  (0.1ms) begin transaction
1403
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1404
+  (0.0ms) rollback transaction
1405
+  (0.0ms) begin transaction
2980
1406
  -------------------------------------------------------------------------------------
2981
1407
  WebConsole::ConsoleSessionsControllerTest: test_PUT_input_validates_for_missing_input
2982
1408
  -------------------------------------------------------------------------------------
2983
1409
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2984
- Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
1410
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2985
1411
  Processing by WebConsole::ConsoleSessionsController#input as HTML
2986
- Unpermitted parameters: id
2987
- Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2988
-  (0.1ms) rollback transaction
2989
-  (0.1ms) begin transaction
1412
+ Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1413
+  (0.0ms) rollback transaction
1414
+  (0.0ms) begin transaction
2990
1415
  ------------------------------------------------------------------------------------
2991
1416
  WebConsole::ConsoleSessionsControllerTest: test_allows_requests_from_whitelisted_ips
2992
1417
  ------------------------------------------------------------------------------------
2993
1418
  Processing by WebConsole::ConsoleSessionsController#index as HTML
2994
- Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
2995
-  (0.1ms) rollback transaction
2996
-  (0.0ms) begin transaction
1419
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
1420
+  (0.0ms) rollback transaction
1421
+  (0.1ms) begin transaction
2997
1422
  ----------------------------------------------------------------------------------------
2998
1423
  WebConsole::ConsoleSessionsControllerTest: test_blocks_requests_from_non-whitelisted_ips
2999
1424
  ----------------------------------------------------------------------------------------
3000
1425
  Processing by WebConsole::ConsoleSessionsController#index as HTML
3001
1426
  Filter chain halted as :prevent_unauthorized_requests! rendered or redirected
3002
- Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
3003
-  (0.1ms) rollback transaction
3004
-  (0.0ms) begin transaction
1427
+ Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1428
+  (0.0ms) rollback transaction
1429
+  (0.1ms) begin transaction
3005
1430
  --------------------------------------------------------------------
3006
1431
  WebConsole::ConsoleSessionsControllerTest: test_index_generated_path
3007
1432
  --------------------------------------------------------------------
3008
-  (0.1ms) rollback transaction
1433
+  (0.0ms) rollback transaction
3009
1434
   (0.1ms) begin transaction
3010
1435
  -------------------------------------------------------------------
3011
1436
  WebConsole::ConsoleSessionsControllerTest: test_index_is_successful
3012
1437
  -------------------------------------------------------------------
3013
1438
  Processing by WebConsole::ConsoleSessionsController#index as HTML
3014
- Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
3015
-  (0.1ms) rollback transaction
1439
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1440
+  (0.0ms) rollback transaction
3016
1441
   (0.0ms) begin transaction
3017
1442
  -----------------------------------------------------------------------------
3018
1443
  WebConsole::EngineTest: test_blank_commands_are_expanded_to_the_rails_console
@@ -3045,7 +1470,7 @@ WebConsole::EngineTest: test_whitelisted_ips.include?_coerces_to_IPAddr
3045
1470
  -----------------------------------------------------------------------
3046
1471
  WebConsole::EngineTest: test_whitelisted_ips.include?_works_with_IPAddr
3047
1472
  -----------------------------------------------------------------------
3048
-  (0.2ms) begin transaction
1473
+  (0.1ms) begin transaction
3049
1474
  ------------------------------------------------------------------
3050
1475
  WebConsole::EngineTest: test_whitelisted_ips_are_courced_to_IPAddr
3051
1476
  ------------------------------------------------------------------
@@ -3053,68 +1478,68 @@ WebConsole::EngineTest: test_whitelisted_ips_are_courced_to_IPAddr
3053
1478
  -----------------------------------------------------------------------------
3054
1479
  WebConsole::EngineTest: test_whitelisted_ips_are_normalized_and_unique_IPAddr
3055
1480
  -----------------------------------------------------------------------------
3056
-  (0.2ms) begin transaction
1481
+  (0.1ms) begin transaction
3057
1482
  ----------------------------------------------------------------
3058
1483
  WebConsole::SlaveTest: test_#configure_changes_@input_dimentions
3059
1484
  ----------------------------------------------------------------
3060
-  (0.1ms) rollback transaction
3061
-  (0.0ms) begin transaction
1485
+  (0.0ms) rollback transaction
1486
+  (0.1ms) begin transaction
3062
1487
  -------------------------------------------------------------------------------------------
3063
1488
  WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_height_is_zero
3064
1489
  -------------------------------------------------------------------------------------------
3065
-  (0.1ms) rollback transaction
1490
+  (0.0ms) rollback transaction
3066
1491
   (0.0ms) begin transaction
3067
1492
  ------------------------------------------------------------------------------------------
3068
1493
  WebConsole::SlaveTest: test_#configure_only_changes_the_@input_dimentions_if_width_is_zero
3069
1494
  ------------------------------------------------------------------------------------------
3070
-  (0.1ms) rollback transaction
3071
-  (0.0ms) begin transaction
1495
+  (0.0ms) rollback transaction
1496
+  (0.1ms) begin transaction
3072
1497
  ---------------------------------------------------------------------------
3073
1498
  WebConsole::SlaveTest: test_#dispose!_can_reraise_Errno::ESRCH_if_requested
3074
1499
  ---------------------------------------------------------------------------
3075
-  (0.1ms) rollback transaction
3076
-  (0.0ms) begin transaction
1500
+  (0.0ms) rollback transaction
1501
+  (0.1ms) begin transaction
3077
1502
  ----------------------------------------------------------------------------------
3078
1503
  WebConsole::SlaveTest: test_#dispose!_sends_SIGKILL_to_the_process_and_detaches_it
3079
1504
  ----------------------------------------------------------------------------------
3080
-  (0.1ms) rollback transaction
3081
-  (0.1ms) begin transaction
1505
+  (0.0ms) rollback transaction
1506
+  (0.0ms) begin transaction
3082
1507
  --------------------------------------------------------------------------
3083
1508
  WebConsole::SlaveTest: test_#dispose_can_reraise_Errno::ESRCH_if_requested
3084
1509
  --------------------------------------------------------------------------
3085
-  (0.1ms) rollback transaction
1510
+  (0.0ms) rollback transaction
3086
1511
   (0.1ms) begin transaction
3087
1512
  ---------------------------------------------------------------------------------
3088
1513
  WebConsole::SlaveTest: test_#dispose_sends_SIGTERM_to_the_process_and_detaches_it
3089
1514
  ---------------------------------------------------------------------------------
3090
-  (0.1ms) rollback transaction
3091
-  (0.1ms) begin transaction
1515
+  (0.0ms) rollback transaction
1516
+  (0.0ms) begin transaction
3092
1517
  --------------------------------------------------------------------------
3093
1518
  WebConsole::SlaveTest: test_#pending_output_always_encodes_output_in_UTF-8
3094
1519
  --------------------------------------------------------------------------
3095
-  (0.1ms) rollback transaction
3096
-  (0.0ms) begin transaction
1520
+  (0.0ms) rollback transaction
1521
+  (0.1ms) begin transaction
3097
1522
  ---------------------------------------------------------------------------------------------
3098
1523
  WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_EOFError
3099
1524
  ---------------------------------------------------------------------------------------------
3100
-  (0.1ms) rollback transaction
3101
-  (0.0ms) begin transaction
1525
+  (0.0ms) rollback transaction
1526
+  (0.1ms) begin transaction
3102
1527
  -----------------------------------------------------------------------------------------------
3103
1528
  WebConsole::SlaveTest: test_#pending_output_raises_Slave::Closed_when_the_end_raises_Errno::EIO
3104
1529
  -----------------------------------------------------------------------------------------------
3105
-  (0.1ms) rollback transaction
3106
-  (0.0ms) begin transaction
1530
+  (0.0ms) rollback transaction
1531
+  (0.1ms) begin transaction
3107
1532
  ------------------------------------------------------------------------------------
3108
1533
  WebConsole::SlaveTest: test_#pending_output_returns_a_string_with_the_current_output
3109
1534
  ------------------------------------------------------------------------------------
3110
-  (0.1ms) rollback transaction
3111
-  (0.0ms) begin transaction
1535
+  (0.0ms) rollback transaction
1536
+  (0.1ms) begin transaction
3112
1537
  ----------------------------------------------------------------------------
3113
1538
  WebConsole::SlaveTest: test_#pending_output_returns_nil_on_no_pending_output
3114
1539
  ----------------------------------------------------------------------------
3115
-  (0.1ms) rollback transaction
1540
+  (0.0ms) rollback transaction
3116
1541
   (0.1ms) begin transaction
3117
1542
  -------------------------------------------------------------------------
3118
1543
  WebConsole::SlaveTest: test_#send_input_raises_ArgumentError_on_bad_input
3119
1544
  -------------------------------------------------------------------------
3120
-  (0.1ms) rollback transaction
1545
+  (0.0ms) rollback transaction