remote_partial 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -89,7 +89,7 @@ logged, and a retrieval will be tried again at the next update.
89
89
 
90
90
  Remote partials are held in:
91
91
 
92
- Rails.root + '/app/veiws/remote_partials'
92
+ Rails.root + '/app/views/remote_partials'
93
93
 
94
94
  == Persistence
95
95
 
@@ -10,7 +10,7 @@ module RemotePartial
10
10
  end
11
11
 
12
12
  def self.get_raw(url)
13
- response = Net::HTTP.get_response(URI(url))
13
+ response = get_response(url)
14
14
 
15
15
  case response.code.to_i
16
16
  when ok_response_codes
@@ -24,6 +24,19 @@ module RemotePartial
24
24
  raise RemotePartialRetrivalError.new(url, exception)
25
25
  end
26
26
 
27
+ def self.get_response(url)
28
+ uri = URI.parse(url)
29
+ http = Net::HTTP.new(uri.host, uri.port)
30
+
31
+ if uri.port == 443
32
+ http.use_ssl = true
33
+ http.verify_mode = OpenSSL::SSL::VERIFY_NONE
34
+ end
35
+
36
+ request = Net::HTTP::Get.new(uri.request_uri)
37
+ http.request(request)
38
+ end
39
+
27
40
  def initialize(url, criteria = nil, &output_modifier)
28
41
  @url = url
29
42
  @criteria = criteria
@@ -1,10 +1,14 @@
1
1
  module RemotePartial
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
4
4
 
5
5
  # History
6
6
  # =======
7
7
  #
8
+ # 0.6.0 Fixes failure to load content from https sites
9
+ # ----------------------------------------------------
10
+ # Whoops. This should have been there from the start.
11
+ #
8
12
  # 0.5.0 Improves handling of remote content from Windows system
9
13
  # -------------------------------------------------------------
10
14
  # Windows editors add a byte order mark (BOM) to the start of text files.
@@ -0,0 +1 @@
1
+ <body><h1>Something</h1><p>Else</p></body>
@@ -30119,3 +30119,3591 @@ stub_request(:get, "http://www.warwickshire.gov.uk/").
30119
30119
  -----------------------------
30120
30120
  RemotePartialTest: test_truth
30121
30121
  -----------------------------
30122
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
30123
+
30124
+ You can stub this request with the following snippet:
30125
+
30126
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
30127
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
30128
+ to_return(:status => 200, :body => "", :headers => {})
30129
+
30130
+ ============================================================>
30131
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
30132
+
30133
+ You can stub this request with the following snippet:
30134
+
30135
+ stub_request(:get, "http://www.ruby-lang.org/en/").
30136
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
30137
+ to_return(:status => 200, :body => "", :headers => {})
30138
+
30139
+ ============================================================>
30140
+ -------------------------------
30141
+ DemosControllerTest: test_index
30142
+ -------------------------------
30143
+ Processing by DemosController#index as HTML
30144
+ Rendered demos/index.html.erb within layouts/application (22.4ms)
30145
+ Completed 200 OK in 58ms (Views: 58.1ms)
30146
+ ------------------------------------
30147
+ DemosControllerTest: test_show_fixed
30148
+ ------------------------------------
30149
+ Processing by DemosController#show as HTML
30150
+ Parameters: {"id"=>"fixed"}
30151
+ Rendered remote_partials/_fixed.html.erb (0.7ms)
30152
+ Rendered demos/_fixed.html.erb (12.3ms)
30153
+ Completed 200 OK in 20ms (Views: 19.8ms)
30154
+ -----------------------------------------------------------
30155
+ DemosHelperTest: test_render_remote_partial_with_no_partial
30156
+ -----------------------------------------------------------
30157
+ --------------------------------------
30158
+ RemotePartial::BuilderTest: test_build
30159
+ --------------------------------------
30160
+ ------------------------------------------------------------
30161
+ RemotePartial::BuilderTest: test_build_with_existing_partial
30162
+ ------------------------------------------------------------
30163
+ ------------------------------------------------------------------
30164
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
30165
+ ------------------------------------------------------------------
30166
+ ------------------------------------------------------
30167
+ RemotePartial::BuilderTest: test_build_with_http_error
30168
+ ------------------------------------------------------
30169
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
30170
+ -------------------------------------------------------------
30171
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
30172
+ -------------------------------------------------------------
30173
+ ---------------------------------------------------------
30174
+ RemotePartial::BuilderTest: test_create_or_update_partial
30175
+ ---------------------------------------------------------
30176
+ -----------------------------------------------------------------------------------
30177
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
30178
+ -----------------------------------------------------------------------------------
30179
+ ----------------------------------------------------------------------------
30180
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
30181
+ ----------------------------------------------------------------------------
30182
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
30183
+ ----------------------------------------------------------------
30184
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
30185
+ ----------------------------------------------------------------
30186
+ -------------------------------------------------
30187
+ RemotePartial::PartialTest: test_output_file_name
30188
+ -------------------------------------------------
30189
+ --------------------------------------------------------
30190
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
30191
+ --------------------------------------------------------
30192
+ --------------------------------------------------------
30193
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
30194
+ --------------------------------------------------------
30195
+ ------------------------------------------------------------------
30196
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
30197
+ ------------------------------------------------------------------
30198
+ --------------------------------------------------------
30199
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
30200
+ --------------------------------------------------------
30201
+ --------------------------------------------
30202
+ RemotePartial::PartialTest: test_update_file
30203
+ --------------------------------------------
30204
+ ------------------------------------------------------------------------
30205
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
30206
+ ------------------------------------------------------------------------
30207
+ -----------------------------------------------------------
30208
+ RemotePartial::PartialTest: test_update_file_with_https_url
30209
+ -----------------------------------------------------------
30210
+ -----------------------------------------------------------------
30211
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
30212
+ -----------------------------------------------------------------
30213
+ ------------------------------------------------
30214
+ RemotePartial::PartialTest: test_update_stale_at
30215
+ ------------------------------------------------
30216
+ --------------------------------------------------
30217
+ RemotePartial::PartialTest: test_update_stale_file
30218
+ --------------------------------------------------
30219
+ -----------------------------------------------------------------
30220
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
30221
+ -----------------------------------------------------------------
30222
+ -----------------------------------------------------------
30223
+ RemotePartial::ResourceManagerTest: test_connection_failure
30224
+ -----------------------------------------------------------
30225
+ ------------------------------------------------------------------------------
30226
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
30227
+ ------------------------------------------------------------------------------
30228
+ -------------------------------------------------
30229
+ RemotePartial::ResourceManagerTest: test_get_page
30230
+ -------------------------------------------------
30231
+ ------------------------------------------------
30232
+ RemotePartial::ResourceManagerTest: test_get_raw
30233
+ ------------------------------------------------
30234
+ ---------------------------------------------
30235
+ RemotePartial::ResourceManagerTest: test_html
30236
+ ---------------------------------------------
30237
+ --------------------------------------------------------
30238
+ RemotePartial::ResourceManagerTest: test_html_with_limit
30239
+ --------------------------------------------------------
30240
+ --------------------------------------------------------------------------------------
30241
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
30242
+ --------------------------------------------------------------------------------------
30243
+ -----------------------------------------------------------
30244
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
30245
+ -----------------------------------------------------------
30246
+ --------------------------------------------------
30247
+ RemotePartial::ResourceManagerTest: test_output_to
30248
+ --------------------------------------------------
30249
+ ---------------------------------------------
30250
+ RemotePartial::ResourceManagerTest: test_stub
30251
+ ---------------------------------------------
30252
+ --------------------------------------
30253
+ RemotePartial::YamlStoreTest: test_all
30254
+ --------------------------------------
30255
+ ----------------------------------------------------
30256
+ RemotePartial::YamlStoreTest: test_all_with_no_items
30257
+ ----------------------------------------------------
30258
+ ----------------------------------------
30259
+ RemotePartial::YamlStoreTest: test_count
30260
+ ----------------------------------------
30261
+ -----------------------------------------
30262
+ RemotePartial::YamlStoreTest: test_create
30263
+ -----------------------------------------
30264
+ ---------------------------------------------
30265
+ RemotePartial::YamlStoreTest: test_created_at
30266
+ ---------------------------------------------
30267
+ -------------------------------------------------------------------
30268
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
30269
+ -------------------------------------------------------------------
30270
+ ------------------------------------------
30271
+ RemotePartial::YamlStoreTest: test_db_path
30272
+ ------------------------------------------
30273
+ --------------------------------------
30274
+ RemotePartial::YamlStoreTest: test_dir
30275
+ --------------------------------------
30276
+ ---------------------------------------
30277
+ RemotePartial::YamlStoreTest: test_file
30278
+ ---------------------------------------
30279
+ ---------------------------------------
30280
+ RemotePartial::YamlStoreTest: test_find
30281
+ ---------------------------------------
30282
+ -------------------------------------------------------
30283
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
30284
+ -------------------------------------------------------
30285
+ ---------------------------------------------------
30286
+ RemotePartial::YamlStoreTest: test_find_with_symbol
30287
+ ---------------------------------------------------
30288
+ -----------------------------------------
30289
+ RemotePartial::YamlStoreTest: test_merge!
30290
+ -----------------------------------------
30291
+ --------------------------------------
30292
+ RemotePartial::YamlStoreTest: test_new
30293
+ --------------------------------------
30294
+ ---------------------------------------
30295
+ RemotePartial::YamlStoreTest: test_read
30296
+ ---------------------------------------
30297
+ -----------------------------------------------------------
30298
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
30299
+ -----------------------------------------------------------
30300
+ ---------------------------------------
30301
+ RemotePartial::YamlStoreTest: test_root
30302
+ ---------------------------------------
30303
+ ---------------------------------------
30304
+ RemotePartial::YamlStoreTest: test_save
30305
+ ---------------------------------------
30306
+ ------------------------------------------------------
30307
+ RemotePartial::YamlStoreTest: test_save_without_a_name
30308
+ ------------------------------------------------------
30309
+ ----------------------------------------------
30310
+ RemotePartial::YamlStoreTest: test_string_keys
30311
+ ----------------------------------------------
30312
+ ---------------------------------------------
30313
+ RemotePartial::YamlStoreTest: test_updated_at
30314
+ ---------------------------------------------
30315
+ ------------------------------------------------------------------
30316
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
30317
+ ------------------------------------------------------------------
30318
+ ----------------------------------------
30319
+ RemotePartial::YamlStoreTest: test_write
30320
+ ----------------------------------------
30321
+ ------------------------------
30322
+ RemotePartialTest: test_define
30323
+ ------------------------------
30324
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
30325
+
30326
+ You can stub this request with the following snippet:
30327
+
30328
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
30329
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
30330
+ to_return(:status => 200, :body => "", :headers => {})
30331
+
30332
+ ============================================================>
30333
+ -----------------------------------------------
30334
+ RemotePartialTest: test_define_with_string_keys
30335
+ -----------------------------------------------
30336
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
30337
+
30338
+ You can stub this request with the following snippet:
30339
+
30340
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
30341
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
30342
+ to_return(:status => 200, :body => "", :headers => {})
30343
+
30344
+ ============================================================>
30345
+ -----------------------------
30346
+ RemotePartialTest: test_truth
30347
+ -----------------------------
30348
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
30349
+
30350
+ You can stub this request with the following snippet:
30351
+
30352
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
30353
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
30354
+ to_return(:status => 200, :body => "", :headers => {})
30355
+
30356
+ ============================================================>
30357
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
30358
+
30359
+ You can stub this request with the following snippet:
30360
+
30361
+ stub_request(:get, "http://www.ruby-lang.org/en/").
30362
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
30363
+ to_return(:status => 200, :body => "", :headers => {})
30364
+
30365
+ ============================================================>
30366
+ -------------------------------
30367
+ DemosControllerTest: test_index
30368
+ -------------------------------
30369
+ Processing by DemosController#index as HTML
30370
+ Rendered demos/index.html.erb within layouts/application (31.4ms)
30371
+ Completed 200 OK in 54ms (Views: 54.2ms)
30372
+ ------------------------------------
30373
+ DemosControllerTest: test_show_fixed
30374
+ ------------------------------------
30375
+ Processing by DemosController#show as HTML
30376
+ Parameters: {"id"=>"fixed"}
30377
+ Rendered remote_partials/_fixed.html.erb (0.6ms)
30378
+ Rendered demos/_fixed.html.erb (2.4ms)
30379
+ Completed 200 OK in 8ms (Views: 8.4ms)
30380
+ -----------------------------------------------------------
30381
+ DemosHelperTest: test_render_remote_partial_with_no_partial
30382
+ -----------------------------------------------------------
30383
+ --------------------------------------
30384
+ RemotePartial::BuilderTest: test_build
30385
+ --------------------------------------
30386
+ ------------------------------------------------------------
30387
+ RemotePartial::BuilderTest: test_build_with_existing_partial
30388
+ ------------------------------------------------------------
30389
+ ------------------------------------------------------------------
30390
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
30391
+ ------------------------------------------------------------------
30392
+ ------------------------------------------------------
30393
+ RemotePartial::BuilderTest: test_build_with_http_error
30394
+ ------------------------------------------------------
30395
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
30396
+ -------------------------------------------------------------
30397
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
30398
+ -------------------------------------------------------------
30399
+ ---------------------------------------------------------
30400
+ RemotePartial::BuilderTest: test_create_or_update_partial
30401
+ ---------------------------------------------------------
30402
+ -----------------------------------------------------------------------------------
30403
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
30404
+ -----------------------------------------------------------------------------------
30405
+ ----------------------------------------------------------------------------
30406
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
30407
+ ----------------------------------------------------------------------------
30408
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
30409
+ ----------------------------------------------------------------
30410
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
30411
+ ----------------------------------------------------------------
30412
+ -------------------------------------------------
30413
+ RemotePartial::PartialTest: test_output_file_name
30414
+ -------------------------------------------------
30415
+ --------------------------------------------------------
30416
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
30417
+ --------------------------------------------------------
30418
+ --------------------------------------------------------
30419
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
30420
+ --------------------------------------------------------
30421
+ ------------------------------------------------------------------
30422
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
30423
+ ------------------------------------------------------------------
30424
+ --------------------------------------------------------
30425
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
30426
+ --------------------------------------------------------
30427
+ --------------------------------------------
30428
+ RemotePartial::PartialTest: test_update_file
30429
+ --------------------------------------------
30430
+ ------------------------------------------------------------------------
30431
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
30432
+ ------------------------------------------------------------------------
30433
+ -----------------------------------------------------------------
30434
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
30435
+ -----------------------------------------------------------------
30436
+ ------------------------------------------------
30437
+ RemotePartial::PartialTest: test_update_stale_at
30438
+ ------------------------------------------------
30439
+ --------------------------------------------------
30440
+ RemotePartial::PartialTest: test_update_stale_file
30441
+ --------------------------------------------------
30442
+ -----------------------------------------------------------------
30443
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
30444
+ -----------------------------------------------------------------
30445
+ -----------------------------------------------------------
30446
+ RemotePartial::ResourceManagerTest: test_connection_failure
30447
+ -----------------------------------------------------------
30448
+ ------------------------------------------------------------------------------
30449
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
30450
+ ------------------------------------------------------------------------------
30451
+ -------------------------------------------------
30452
+ RemotePartial::ResourceManagerTest: test_get_page
30453
+ -------------------------------------------------
30454
+ ------------------------------------------------
30455
+ RemotePartial::ResourceManagerTest: test_get_raw
30456
+ ------------------------------------------------
30457
+ ---------------------------------------------
30458
+ RemotePartial::ResourceManagerTest: test_html
30459
+ ---------------------------------------------
30460
+ --------------------------------------------------------
30461
+ RemotePartial::ResourceManagerTest: test_html_with_limit
30462
+ --------------------------------------------------------
30463
+ --------------------------------------------------------------------------------------
30464
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
30465
+ --------------------------------------------------------------------------------------
30466
+ -----------------------------------------------------------
30467
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
30468
+ -----------------------------------------------------------
30469
+ --------------------------------------------------
30470
+ RemotePartial::ResourceManagerTest: test_output_to
30471
+ --------------------------------------------------
30472
+ ---------------------------------------------
30473
+ RemotePartial::ResourceManagerTest: test_stub
30474
+ ---------------------------------------------
30475
+ --------------------------------------
30476
+ RemotePartial::YamlStoreTest: test_all
30477
+ --------------------------------------
30478
+ ----------------------------------------------------
30479
+ RemotePartial::YamlStoreTest: test_all_with_no_items
30480
+ ----------------------------------------------------
30481
+ ----------------------------------------
30482
+ RemotePartial::YamlStoreTest: test_count
30483
+ ----------------------------------------
30484
+ -----------------------------------------
30485
+ RemotePartial::YamlStoreTest: test_create
30486
+ -----------------------------------------
30487
+ ---------------------------------------------
30488
+ RemotePartial::YamlStoreTest: test_created_at
30489
+ ---------------------------------------------
30490
+ -------------------------------------------------------------------
30491
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
30492
+ -------------------------------------------------------------------
30493
+ ------------------------------------------
30494
+ RemotePartial::YamlStoreTest: test_db_path
30495
+ ------------------------------------------
30496
+ --------------------------------------
30497
+ RemotePartial::YamlStoreTest: test_dir
30498
+ --------------------------------------
30499
+ ---------------------------------------
30500
+ RemotePartial::YamlStoreTest: test_file
30501
+ ---------------------------------------
30502
+ ---------------------------------------
30503
+ RemotePartial::YamlStoreTest: test_find
30504
+ ---------------------------------------
30505
+ -------------------------------------------------------
30506
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
30507
+ -------------------------------------------------------
30508
+ ---------------------------------------------------
30509
+ RemotePartial::YamlStoreTest: test_find_with_symbol
30510
+ ---------------------------------------------------
30511
+ -----------------------------------------
30512
+ RemotePartial::YamlStoreTest: test_merge!
30513
+ -----------------------------------------
30514
+ --------------------------------------
30515
+ RemotePartial::YamlStoreTest: test_new
30516
+ --------------------------------------
30517
+ ---------------------------------------
30518
+ RemotePartial::YamlStoreTest: test_read
30519
+ ---------------------------------------
30520
+ -----------------------------------------------------------
30521
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
30522
+ -----------------------------------------------------------
30523
+ ---------------------------------------
30524
+ RemotePartial::YamlStoreTest: test_root
30525
+ ---------------------------------------
30526
+ ---------------------------------------
30527
+ RemotePartial::YamlStoreTest: test_save
30528
+ ---------------------------------------
30529
+ ------------------------------------------------------
30530
+ RemotePartial::YamlStoreTest: test_save_without_a_name
30531
+ ------------------------------------------------------
30532
+ ----------------------------------------------
30533
+ RemotePartial::YamlStoreTest: test_string_keys
30534
+ ----------------------------------------------
30535
+ ---------------------------------------------
30536
+ RemotePartial::YamlStoreTest: test_updated_at
30537
+ ---------------------------------------------
30538
+ ------------------------------------------------------------------
30539
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
30540
+ ------------------------------------------------------------------
30541
+ ----------------------------------------
30542
+ RemotePartial::YamlStoreTest: test_write
30543
+ ----------------------------------------
30544
+ ------------------------------
30545
+ RemotePartialTest: test_define
30546
+ ------------------------------
30547
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
30548
+
30549
+ You can stub this request with the following snippet:
30550
+
30551
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
30552
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
30553
+ to_return(:status => 200, :body => "", :headers => {})
30554
+
30555
+ ============================================================>
30556
+ -----------------------------------------------
30557
+ RemotePartialTest: test_define_with_string_keys
30558
+ -----------------------------------------------
30559
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
30560
+
30561
+ You can stub this request with the following snippet:
30562
+
30563
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
30564
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
30565
+ to_return(:status => 200, :body => "", :headers => {})
30566
+
30567
+ ============================================================>
30568
+ -----------------------------
30569
+ RemotePartialTest: test_truth
30570
+ -----------------------------
30571
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
30572
+
30573
+ You can stub this request with the following snippet:
30574
+
30575
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
30576
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
30577
+ to_return(:status => 200, :body => "", :headers => {})
30578
+
30579
+ ============================================================>
30580
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
30581
+
30582
+ You can stub this request with the following snippet:
30583
+
30584
+ stub_request(:get, "http://www.ruby-lang.org/en/").
30585
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
30586
+ to_return(:status => 200, :body => "", :headers => {})
30587
+
30588
+ ============================================================>
30589
+ -------------------------------
30590
+ DemosControllerTest: test_index
30591
+ -------------------------------
30592
+ Processing by DemosController#index as HTML
30593
+ Rendered demos/index.html.erb within layouts/application (24.5ms)
30594
+ Completed 200 OK in 43ms (Views: 42.9ms)
30595
+ ------------------------------------
30596
+ DemosControllerTest: test_show_fixed
30597
+ ------------------------------------
30598
+ Processing by DemosController#show as HTML
30599
+ Parameters: {"id"=>"fixed"}
30600
+ Rendered remote_partials/_fixed.html.erb (0.3ms)
30601
+ Rendered demos/_fixed.html.erb (1.9ms)
30602
+ Completed 200 OK in 10ms (Views: 9.7ms)
30603
+ -----------------------------------------------------------
30604
+ DemosHelperTest: test_render_remote_partial_with_no_partial
30605
+ -----------------------------------------------------------
30606
+ --------------------------------------
30607
+ RemotePartial::BuilderTest: test_build
30608
+ --------------------------------------
30609
+ ------------------------------------------------------------
30610
+ RemotePartial::BuilderTest: test_build_with_existing_partial
30611
+ ------------------------------------------------------------
30612
+ ------------------------------------------------------------------
30613
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
30614
+ ------------------------------------------------------------------
30615
+ ------------------------------------------------------
30616
+ RemotePartial::BuilderTest: test_build_with_http_error
30617
+ ------------------------------------------------------
30618
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
30619
+ -------------------------------------------------------------
30620
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
30621
+ -------------------------------------------------------------
30622
+ ---------------------------------------------------------
30623
+ RemotePartial::BuilderTest: test_create_or_update_partial
30624
+ ---------------------------------------------------------
30625
+ -----------------------------------------------------------------------------------
30626
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
30627
+ -----------------------------------------------------------------------------------
30628
+ ----------------------------------------------------------------------------
30629
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
30630
+ ----------------------------------------------------------------------------
30631
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
30632
+ ----------------------------------------------------------------
30633
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
30634
+ ----------------------------------------------------------------
30635
+ -------------------------------------------------
30636
+ RemotePartial::PartialTest: test_output_file_name
30637
+ -------------------------------------------------
30638
+ --------------------------------------------------------
30639
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
30640
+ --------------------------------------------------------
30641
+ --------------------------------------------------------
30642
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
30643
+ --------------------------------------------------------
30644
+ ------------------------------------------------------------------
30645
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
30646
+ ------------------------------------------------------------------
30647
+ --------------------------------------------------------
30648
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
30649
+ --------------------------------------------------------
30650
+ --------------------------------------------
30651
+ RemotePartial::PartialTest: test_update_file
30652
+ --------------------------------------------
30653
+ ------------------------------------------------------------------------
30654
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
30655
+ ------------------------------------------------------------------------
30656
+ -----------------------------------------------------------
30657
+ RemotePartial::PartialTest: test_update_file_with_https_url
30658
+ -----------------------------------------------------------
30659
+ -----------------------------------------------------------------
30660
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
30661
+ -----------------------------------------------------------------
30662
+ ------------------------------------------------
30663
+ RemotePartial::PartialTest: test_update_stale_at
30664
+ ------------------------------------------------
30665
+ --------------------------------------------------
30666
+ RemotePartial::PartialTest: test_update_stale_file
30667
+ --------------------------------------------------
30668
+ -----------------------------------------------------------------
30669
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
30670
+ -----------------------------------------------------------------
30671
+ -----------------------------------------------------------
30672
+ RemotePartial::ResourceManagerTest: test_connection_failure
30673
+ -----------------------------------------------------------
30674
+ ------------------------------------------------------------------------------
30675
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
30676
+ ------------------------------------------------------------------------------
30677
+ -------------------------------------------------
30678
+ RemotePartial::ResourceManagerTest: test_get_page
30679
+ -------------------------------------------------
30680
+ ------------------------------------------------
30681
+ RemotePartial::ResourceManagerTest: test_get_raw
30682
+ ------------------------------------------------
30683
+ ---------------------------------------------
30684
+ RemotePartial::ResourceManagerTest: test_html
30685
+ ---------------------------------------------
30686
+ --------------------------------------------------------
30687
+ RemotePartial::ResourceManagerTest: test_html_with_limit
30688
+ --------------------------------------------------------
30689
+ --------------------------------------------------------------------------------------
30690
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
30691
+ --------------------------------------------------------------------------------------
30692
+ -----------------------------------------------------------
30693
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
30694
+ -----------------------------------------------------------
30695
+ --------------------------------------------------
30696
+ RemotePartial::ResourceManagerTest: test_output_to
30697
+ --------------------------------------------------
30698
+ ---------------------------------------------
30699
+ RemotePartial::ResourceManagerTest: test_stub
30700
+ ---------------------------------------------
30701
+ --------------------------------------
30702
+ RemotePartial::YamlStoreTest: test_all
30703
+ --------------------------------------
30704
+ ----------------------------------------------------
30705
+ RemotePartial::YamlStoreTest: test_all_with_no_items
30706
+ ----------------------------------------------------
30707
+ ----------------------------------------
30708
+ RemotePartial::YamlStoreTest: test_count
30709
+ ----------------------------------------
30710
+ -----------------------------------------
30711
+ RemotePartial::YamlStoreTest: test_create
30712
+ -----------------------------------------
30713
+ ---------------------------------------------
30714
+ RemotePartial::YamlStoreTest: test_created_at
30715
+ ---------------------------------------------
30716
+ -------------------------------------------------------------------
30717
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
30718
+ -------------------------------------------------------------------
30719
+ ------------------------------------------
30720
+ RemotePartial::YamlStoreTest: test_db_path
30721
+ ------------------------------------------
30722
+ --------------------------------------
30723
+ RemotePartial::YamlStoreTest: test_dir
30724
+ --------------------------------------
30725
+ ---------------------------------------
30726
+ RemotePartial::YamlStoreTest: test_file
30727
+ ---------------------------------------
30728
+ ---------------------------------------
30729
+ RemotePartial::YamlStoreTest: test_find
30730
+ ---------------------------------------
30731
+ -------------------------------------------------------
30732
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
30733
+ -------------------------------------------------------
30734
+ ---------------------------------------------------
30735
+ RemotePartial::YamlStoreTest: test_find_with_symbol
30736
+ ---------------------------------------------------
30737
+ -----------------------------------------
30738
+ RemotePartial::YamlStoreTest: test_merge!
30739
+ -----------------------------------------
30740
+ --------------------------------------
30741
+ RemotePartial::YamlStoreTest: test_new
30742
+ --------------------------------------
30743
+ ---------------------------------------
30744
+ RemotePartial::YamlStoreTest: test_read
30745
+ ---------------------------------------
30746
+ -----------------------------------------------------------
30747
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
30748
+ -----------------------------------------------------------
30749
+ ---------------------------------------
30750
+ RemotePartial::YamlStoreTest: test_root
30751
+ ---------------------------------------
30752
+ ---------------------------------------
30753
+ RemotePartial::YamlStoreTest: test_save
30754
+ ---------------------------------------
30755
+ ------------------------------------------------------
30756
+ RemotePartial::YamlStoreTest: test_save_without_a_name
30757
+ ------------------------------------------------------
30758
+ ----------------------------------------------
30759
+ RemotePartial::YamlStoreTest: test_string_keys
30760
+ ----------------------------------------------
30761
+ ---------------------------------------------
30762
+ RemotePartial::YamlStoreTest: test_updated_at
30763
+ ---------------------------------------------
30764
+ ------------------------------------------------------------------
30765
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
30766
+ ------------------------------------------------------------------
30767
+ ----------------------------------------
30768
+ RemotePartial::YamlStoreTest: test_write
30769
+ ----------------------------------------
30770
+ ------------------------------
30771
+ RemotePartialTest: test_define
30772
+ ------------------------------
30773
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
30774
+
30775
+ You can stub this request with the following snippet:
30776
+
30777
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
30778
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
30779
+ to_return(:status => 200, :body => "", :headers => {})
30780
+
30781
+ ============================================================>
30782
+ -----------------------------------------------
30783
+ RemotePartialTest: test_define_with_string_keys
30784
+ -----------------------------------------------
30785
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
30786
+
30787
+ You can stub this request with the following snippet:
30788
+
30789
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
30790
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
30791
+ to_return(:status => 200, :body => "", :headers => {})
30792
+
30793
+ ============================================================>
30794
+ -----------------------------
30795
+ RemotePartialTest: test_truth
30796
+ -----------------------------
30797
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
30798
+
30799
+ You can stub this request with the following snippet:
30800
+
30801
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
30802
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
30803
+ to_return(:status => 200, :body => "", :headers => {})
30804
+
30805
+ ============================================================>
30806
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
30807
+
30808
+ You can stub this request with the following snippet:
30809
+
30810
+ stub_request(:get, "http://www.ruby-lang.org/en/").
30811
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
30812
+ to_return(:status => 200, :body => "", :headers => {})
30813
+
30814
+ ============================================================>
30815
+ -------------------------------
30816
+ DemosControllerTest: test_index
30817
+ -------------------------------
30818
+ Processing by DemosController#index as HTML
30819
+ Rendered demos/index.html.erb within layouts/application (26.1ms)
30820
+ Completed 200 OK in 53ms (Views: 52.7ms)
30821
+ ------------------------------------
30822
+ DemosControllerTest: test_show_fixed
30823
+ ------------------------------------
30824
+ Processing by DemosController#show as HTML
30825
+ Parameters: {"id"=>"fixed"}
30826
+ Rendered remote_partials/_fixed.html.erb (0.5ms)
30827
+ Rendered demos/_fixed.html.erb (2.4ms)
30828
+ Completed 200 OK in 9ms (Views: 9.4ms)
30829
+ -----------------------------------------------------------
30830
+ DemosHelperTest: test_render_remote_partial_with_no_partial
30831
+ -----------------------------------------------------------
30832
+ --------------------------------------
30833
+ RemotePartial::BuilderTest: test_build
30834
+ --------------------------------------
30835
+ ------------------------------------------------------------
30836
+ RemotePartial::BuilderTest: test_build_with_existing_partial
30837
+ ------------------------------------------------------------
30838
+ ------------------------------------------------------------------
30839
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
30840
+ ------------------------------------------------------------------
30841
+ ------------------------------------------------------
30842
+ RemotePartial::BuilderTest: test_build_with_http_error
30843
+ ------------------------------------------------------
30844
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
30845
+ -------------------------------------------------------------
30846
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
30847
+ -------------------------------------------------------------
30848
+ ---------------------------------------------------------
30849
+ RemotePartial::BuilderTest: test_create_or_update_partial
30850
+ ---------------------------------------------------------
30851
+ -----------------------------------------------------------------------------------
30852
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
30853
+ -----------------------------------------------------------------------------------
30854
+ ----------------------------------------------------------------------------
30855
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
30856
+ ----------------------------------------------------------------------------
30857
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
30858
+ ----------------------------------------------------------------
30859
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
30860
+ ----------------------------------------------------------------
30861
+ -------------------------------------------------
30862
+ RemotePartial::PartialTest: test_output_file_name
30863
+ -------------------------------------------------
30864
+ --------------------------------------------------------
30865
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
30866
+ --------------------------------------------------------
30867
+ --------------------------------------------------------
30868
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
30869
+ --------------------------------------------------------
30870
+ ------------------------------------------------------------------
30871
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
30872
+ ------------------------------------------------------------------
30873
+ --------------------------------------------------------
30874
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
30875
+ --------------------------------------------------------
30876
+ --------------------------------------------
30877
+ RemotePartial::PartialTest: test_update_file
30878
+ --------------------------------------------
30879
+ ------------------------------------------------------------------------
30880
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
30881
+ ------------------------------------------------------------------------
30882
+ -----------------------------------------------------------
30883
+ RemotePartial::PartialTest: test_update_file_with_https_url
30884
+ -----------------------------------------------------------
30885
+ -----------------------------------------------------------------
30886
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
30887
+ -----------------------------------------------------------------
30888
+ ------------------------------------------------
30889
+ RemotePartial::PartialTest: test_update_stale_at
30890
+ ------------------------------------------------
30891
+ --------------------------------------------------
30892
+ RemotePartial::PartialTest: test_update_stale_file
30893
+ --------------------------------------------------
30894
+ -----------------------------------------------------------------
30895
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
30896
+ -----------------------------------------------------------------
30897
+ -----------------------------------------------------------
30898
+ RemotePartial::ResourceManagerTest: test_connection_failure
30899
+ -----------------------------------------------------------
30900
+ ------------------------------------------------------------------------------
30901
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
30902
+ ------------------------------------------------------------------------------
30903
+ -------------------------------------------------
30904
+ RemotePartial::ResourceManagerTest: test_get_page
30905
+ -------------------------------------------------
30906
+ ------------------------------------------------
30907
+ RemotePartial::ResourceManagerTest: test_get_raw
30908
+ ------------------------------------------------
30909
+ ---------------------------------------------
30910
+ RemotePartial::ResourceManagerTest: test_html
30911
+ ---------------------------------------------
30912
+ --------------------------------------------------------
30913
+ RemotePartial::ResourceManagerTest: test_html_with_limit
30914
+ --------------------------------------------------------
30915
+ --------------------------------------------------------------------------------------
30916
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
30917
+ --------------------------------------------------------------------------------------
30918
+ -----------------------------------------------------------
30919
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
30920
+ -----------------------------------------------------------
30921
+ --------------------------------------------------
30922
+ RemotePartial::ResourceManagerTest: test_output_to
30923
+ --------------------------------------------------
30924
+ ---------------------------------------------
30925
+ RemotePartial::ResourceManagerTest: test_stub
30926
+ ---------------------------------------------
30927
+ --------------------------------------
30928
+ RemotePartial::YamlStoreTest: test_all
30929
+ --------------------------------------
30930
+ ----------------------------------------------------
30931
+ RemotePartial::YamlStoreTest: test_all_with_no_items
30932
+ ----------------------------------------------------
30933
+ ----------------------------------------
30934
+ RemotePartial::YamlStoreTest: test_count
30935
+ ----------------------------------------
30936
+ -----------------------------------------
30937
+ RemotePartial::YamlStoreTest: test_create
30938
+ -----------------------------------------
30939
+ ---------------------------------------------
30940
+ RemotePartial::YamlStoreTest: test_created_at
30941
+ ---------------------------------------------
30942
+ -------------------------------------------------------------------
30943
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
30944
+ -------------------------------------------------------------------
30945
+ ------------------------------------------
30946
+ RemotePartial::YamlStoreTest: test_db_path
30947
+ ------------------------------------------
30948
+ --------------------------------------
30949
+ RemotePartial::YamlStoreTest: test_dir
30950
+ --------------------------------------
30951
+ ---------------------------------------
30952
+ RemotePartial::YamlStoreTest: test_file
30953
+ ---------------------------------------
30954
+ ---------------------------------------
30955
+ RemotePartial::YamlStoreTest: test_find
30956
+ ---------------------------------------
30957
+ -------------------------------------------------------
30958
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
30959
+ -------------------------------------------------------
30960
+ ---------------------------------------------------
30961
+ RemotePartial::YamlStoreTest: test_find_with_symbol
30962
+ ---------------------------------------------------
30963
+ -----------------------------------------
30964
+ RemotePartial::YamlStoreTest: test_merge!
30965
+ -----------------------------------------
30966
+ --------------------------------------
30967
+ RemotePartial::YamlStoreTest: test_new
30968
+ --------------------------------------
30969
+ ---------------------------------------
30970
+ RemotePartial::YamlStoreTest: test_read
30971
+ ---------------------------------------
30972
+ -----------------------------------------------------------
30973
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
30974
+ -----------------------------------------------------------
30975
+ ---------------------------------------
30976
+ RemotePartial::YamlStoreTest: test_root
30977
+ ---------------------------------------
30978
+ ---------------------------------------
30979
+ RemotePartial::YamlStoreTest: test_save
30980
+ ---------------------------------------
30981
+ ------------------------------------------------------
30982
+ RemotePartial::YamlStoreTest: test_save_without_a_name
30983
+ ------------------------------------------------------
30984
+ ----------------------------------------------
30985
+ RemotePartial::YamlStoreTest: test_string_keys
30986
+ ----------------------------------------------
30987
+ ---------------------------------------------
30988
+ RemotePartial::YamlStoreTest: test_updated_at
30989
+ ---------------------------------------------
30990
+ ------------------------------------------------------------------
30991
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
30992
+ ------------------------------------------------------------------
30993
+ ----------------------------------------
30994
+ RemotePartial::YamlStoreTest: test_write
30995
+ ----------------------------------------
30996
+ ------------------------------
30997
+ RemotePartialTest: test_define
30998
+ ------------------------------
30999
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31000
+
31001
+ You can stub this request with the following snippet:
31002
+
31003
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
31004
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31005
+ to_return(:status => 200, :body => "", :headers => {})
31006
+
31007
+ ============================================================>
31008
+ -----------------------------------------------
31009
+ RemotePartialTest: test_define_with_string_keys
31010
+ -----------------------------------------------
31011
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31012
+
31013
+ You can stub this request with the following snippet:
31014
+
31015
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
31016
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31017
+ to_return(:status => 200, :body => "", :headers => {})
31018
+
31019
+ ============================================================>
31020
+ -----------------------------
31021
+ RemotePartialTest: test_truth
31022
+ -----------------------------
31023
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31024
+
31025
+ You can stub this request with the following snippet:
31026
+
31027
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
31028
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31029
+ to_return(:status => 200, :body => "", :headers => {})
31030
+
31031
+ ============================================================>
31032
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31033
+
31034
+ You can stub this request with the following snippet:
31035
+
31036
+ stub_request(:get, "http://www.ruby-lang.org/en/").
31037
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31038
+ to_return(:status => 200, :body => "", :headers => {})
31039
+
31040
+ ============================================================>
31041
+ -------------------------------
31042
+ DemosControllerTest: test_index
31043
+ -------------------------------
31044
+ Processing by DemosController#index as HTML
31045
+ Rendered demos/index.html.erb within layouts/application (23.1ms)
31046
+ Completed 200 OK in 41ms (Views: 40.9ms)
31047
+ ------------------------------------
31048
+ DemosControllerTest: test_show_fixed
31049
+ ------------------------------------
31050
+ Processing by DemosController#show as HTML
31051
+ Parameters: {"id"=>"fixed"}
31052
+ Rendered remote_partials/_fixed.html.erb (0.3ms)
31053
+ Rendered demos/_fixed.html.erb (1.9ms)
31054
+ Completed 200 OK in 9ms (Views: 8.6ms)
31055
+ -----------------------------------------------------------
31056
+ DemosHelperTest: test_render_remote_partial_with_no_partial
31057
+ -----------------------------------------------------------
31058
+ --------------------------------------
31059
+ RemotePartial::BuilderTest: test_build
31060
+ --------------------------------------
31061
+ ------------------------------------------------------------
31062
+ RemotePartial::BuilderTest: test_build_with_existing_partial
31063
+ ------------------------------------------------------------
31064
+ ------------------------------------------------------------------
31065
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
31066
+ ------------------------------------------------------------------
31067
+ ------------------------------------------------------
31068
+ RemotePartial::BuilderTest: test_build_with_http_error
31069
+ ------------------------------------------------------
31070
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
31071
+ -------------------------------------------------------------
31072
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
31073
+ -------------------------------------------------------------
31074
+ ---------------------------------------------------------
31075
+ RemotePartial::BuilderTest: test_create_or_update_partial
31076
+ ---------------------------------------------------------
31077
+ -----------------------------------------------------------------------------------
31078
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
31079
+ -----------------------------------------------------------------------------------
31080
+ ----------------------------------------------------------------------------
31081
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
31082
+ ----------------------------------------------------------------------------
31083
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
31084
+ ----------------------------------------------------------------
31085
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
31086
+ ----------------------------------------------------------------
31087
+ -------------------------------------------------
31088
+ RemotePartial::PartialTest: test_output_file_name
31089
+ -------------------------------------------------
31090
+ --------------------------------------------------------
31091
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
31092
+ --------------------------------------------------------
31093
+ --------------------------------------------------------
31094
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
31095
+ --------------------------------------------------------
31096
+ ------------------------------------------------------------------
31097
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
31098
+ ------------------------------------------------------------------
31099
+ --------------------------------------------------------
31100
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
31101
+ --------------------------------------------------------
31102
+ --------------------------------------------
31103
+ RemotePartial::PartialTest: test_update_file
31104
+ --------------------------------------------
31105
+ ------------------------------------------------------------------------
31106
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
31107
+ ------------------------------------------------------------------------
31108
+ -----------------------------------------------------------
31109
+ RemotePartial::PartialTest: test_update_file_with_https_url
31110
+ -----------------------------------------------------------
31111
+ -----------------------------------------------------------------
31112
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
31113
+ -----------------------------------------------------------------
31114
+ ------------------------------------------------
31115
+ RemotePartial::PartialTest: test_update_stale_at
31116
+ ------------------------------------------------
31117
+ --------------------------------------------------
31118
+ RemotePartial::PartialTest: test_update_stale_file
31119
+ --------------------------------------------------
31120
+ -----------------------------------------------------------------
31121
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
31122
+ -----------------------------------------------------------------
31123
+ -----------------------------------------------------------
31124
+ RemotePartial::ResourceManagerTest: test_connection_failure
31125
+ -----------------------------------------------------------
31126
+ ------------------------------------------------------------------------------
31127
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
31128
+ ------------------------------------------------------------------------------
31129
+ -------------------------------------------------
31130
+ RemotePartial::ResourceManagerTest: test_get_page
31131
+ -------------------------------------------------
31132
+ ------------------------------------------------
31133
+ RemotePartial::ResourceManagerTest: test_get_raw
31134
+ ------------------------------------------------
31135
+ ---------------------------------------------
31136
+ RemotePartial::ResourceManagerTest: test_html
31137
+ ---------------------------------------------
31138
+ --------------------------------------------------------
31139
+ RemotePartial::ResourceManagerTest: test_html_with_limit
31140
+ --------------------------------------------------------
31141
+ --------------------------------------------------------------------------------------
31142
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
31143
+ --------------------------------------------------------------------------------------
31144
+ -----------------------------------------------------------
31145
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
31146
+ -----------------------------------------------------------
31147
+ --------------------------------------------------
31148
+ RemotePartial::ResourceManagerTest: test_output_to
31149
+ --------------------------------------------------
31150
+ ---------------------------------------------
31151
+ RemotePartial::ResourceManagerTest: test_stub
31152
+ ---------------------------------------------
31153
+ --------------------------------------
31154
+ RemotePartial::YamlStoreTest: test_all
31155
+ --------------------------------------
31156
+ ----------------------------------------------------
31157
+ RemotePartial::YamlStoreTest: test_all_with_no_items
31158
+ ----------------------------------------------------
31159
+ ----------------------------------------
31160
+ RemotePartial::YamlStoreTest: test_count
31161
+ ----------------------------------------
31162
+ -----------------------------------------
31163
+ RemotePartial::YamlStoreTest: test_create
31164
+ -----------------------------------------
31165
+ ---------------------------------------------
31166
+ RemotePartial::YamlStoreTest: test_created_at
31167
+ ---------------------------------------------
31168
+ -------------------------------------------------------------------
31169
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
31170
+ -------------------------------------------------------------------
31171
+ ------------------------------------------
31172
+ RemotePartial::YamlStoreTest: test_db_path
31173
+ ------------------------------------------
31174
+ --------------------------------------
31175
+ RemotePartial::YamlStoreTest: test_dir
31176
+ --------------------------------------
31177
+ ---------------------------------------
31178
+ RemotePartial::YamlStoreTest: test_file
31179
+ ---------------------------------------
31180
+ ---------------------------------------
31181
+ RemotePartial::YamlStoreTest: test_find
31182
+ ---------------------------------------
31183
+ -------------------------------------------------------
31184
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
31185
+ -------------------------------------------------------
31186
+ ---------------------------------------------------
31187
+ RemotePartial::YamlStoreTest: test_find_with_symbol
31188
+ ---------------------------------------------------
31189
+ -----------------------------------------
31190
+ RemotePartial::YamlStoreTest: test_merge!
31191
+ -----------------------------------------
31192
+ --------------------------------------
31193
+ RemotePartial::YamlStoreTest: test_new
31194
+ --------------------------------------
31195
+ ---------------------------------------
31196
+ RemotePartial::YamlStoreTest: test_read
31197
+ ---------------------------------------
31198
+ -----------------------------------------------------------
31199
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
31200
+ -----------------------------------------------------------
31201
+ ---------------------------------------
31202
+ RemotePartial::YamlStoreTest: test_root
31203
+ ---------------------------------------
31204
+ ---------------------------------------
31205
+ RemotePartial::YamlStoreTest: test_save
31206
+ ---------------------------------------
31207
+ ------------------------------------------------------
31208
+ RemotePartial::YamlStoreTest: test_save_without_a_name
31209
+ ------------------------------------------------------
31210
+ ----------------------------------------------
31211
+ RemotePartial::YamlStoreTest: test_string_keys
31212
+ ----------------------------------------------
31213
+ ---------------------------------------------
31214
+ RemotePartial::YamlStoreTest: test_updated_at
31215
+ ---------------------------------------------
31216
+ ------------------------------------------------------------------
31217
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
31218
+ ------------------------------------------------------------------
31219
+ ----------------------------------------
31220
+ RemotePartial::YamlStoreTest: test_write
31221
+ ----------------------------------------
31222
+ ------------------------------
31223
+ RemotePartialTest: test_define
31224
+ ------------------------------
31225
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31226
+
31227
+ You can stub this request with the following snippet:
31228
+
31229
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
31230
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31231
+ to_return(:status => 200, :body => "", :headers => {})
31232
+
31233
+ ============================================================>
31234
+ -----------------------------------------------
31235
+ RemotePartialTest: test_define_with_string_keys
31236
+ -----------------------------------------------
31237
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31238
+
31239
+ You can stub this request with the following snippet:
31240
+
31241
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
31242
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31243
+ to_return(:status => 200, :body => "", :headers => {})
31244
+
31245
+ ============================================================>
31246
+ -----------------------------
31247
+ RemotePartialTest: test_truth
31248
+ -----------------------------
31249
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31250
+
31251
+ You can stub this request with the following snippet:
31252
+
31253
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
31254
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31255
+ to_return(:status => 200, :body => "", :headers => {})
31256
+
31257
+ ============================================================>
31258
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31259
+
31260
+ You can stub this request with the following snippet:
31261
+
31262
+ stub_request(:get, "http://www.ruby-lang.org/en/").
31263
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31264
+ to_return(:status => 200, :body => "", :headers => {})
31265
+
31266
+ ============================================================>
31267
+ -------------------------------
31268
+ DemosControllerTest: test_index
31269
+ -------------------------------
31270
+ Processing by DemosController#index as HTML
31271
+ Rendered demos/index.html.erb within layouts/application (22.5ms)
31272
+ Completed 200 OK in 42ms (Views: 41.9ms)
31273
+ ------------------------------------
31274
+ DemosControllerTest: test_show_fixed
31275
+ ------------------------------------
31276
+ Processing by DemosController#show as HTML
31277
+ Parameters: {"id"=>"fixed"}
31278
+ Rendered remote_partials/_fixed.html.erb (0.3ms)
31279
+ Rendered demos/_fixed.html.erb (2.3ms)
31280
+ Completed 200 OK in 9ms (Views: 9.3ms)
31281
+ -----------------------------------------------------------
31282
+ DemosHelperTest: test_render_remote_partial_with_no_partial
31283
+ -----------------------------------------------------------
31284
+ --------------------------------------
31285
+ RemotePartial::BuilderTest: test_build
31286
+ --------------------------------------
31287
+ ------------------------------------------------------------
31288
+ RemotePartial::BuilderTest: test_build_with_existing_partial
31289
+ ------------------------------------------------------------
31290
+ ------------------------------------------------------------------
31291
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
31292
+ ------------------------------------------------------------------
31293
+ ------------------------------------------------------
31294
+ RemotePartial::BuilderTest: test_build_with_http_error
31295
+ ------------------------------------------------------
31296
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
31297
+ -------------------------------------------------------------
31298
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
31299
+ -------------------------------------------------------------
31300
+ ---------------------------------------------------------
31301
+ RemotePartial::BuilderTest: test_create_or_update_partial
31302
+ ---------------------------------------------------------
31303
+ -----------------------------------------------------------------------------------
31304
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
31305
+ -----------------------------------------------------------------------------------
31306
+ ----------------------------------------------------------------------------
31307
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
31308
+ ----------------------------------------------------------------------------
31309
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
31310
+ ----------------------------------------------------------------
31311
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
31312
+ ----------------------------------------------------------------
31313
+ -------------------------------------------------
31314
+ RemotePartial::PartialTest: test_output_file_name
31315
+ -------------------------------------------------
31316
+ --------------------------------------------------------
31317
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
31318
+ --------------------------------------------------------
31319
+ --------------------------------------------------------
31320
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
31321
+ --------------------------------------------------------
31322
+ ------------------------------------------------------------------
31323
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
31324
+ ------------------------------------------------------------------
31325
+ --------------------------------------------------------
31326
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
31327
+ --------------------------------------------------------
31328
+ --------------------------------------------
31329
+ RemotePartial::PartialTest: test_update_file
31330
+ --------------------------------------------
31331
+ ------------------------------------------------------------------------
31332
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
31333
+ ------------------------------------------------------------------------
31334
+ -----------------------------------------------------------
31335
+ RemotePartial::PartialTest: test_update_file_with_https_url
31336
+ -----------------------------------------------------------
31337
+ -----------------------------------------------------------------
31338
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
31339
+ -----------------------------------------------------------------
31340
+ ------------------------------------------------
31341
+ RemotePartial::PartialTest: test_update_stale_at
31342
+ ------------------------------------------------
31343
+ --------------------------------------------------
31344
+ RemotePartial::PartialTest: test_update_stale_file
31345
+ --------------------------------------------------
31346
+ -----------------------------------------------------------------
31347
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
31348
+ -----------------------------------------------------------------
31349
+ -----------------------------------------------------------
31350
+ RemotePartial::ResourceManagerTest: test_connection_failure
31351
+ -----------------------------------------------------------
31352
+ ------------------------------------------------------------------------------
31353
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
31354
+ ------------------------------------------------------------------------------
31355
+ -------------------------------------------------
31356
+ RemotePartial::ResourceManagerTest: test_get_page
31357
+ -------------------------------------------------
31358
+ ------------------------------------------------
31359
+ RemotePartial::ResourceManagerTest: test_get_raw
31360
+ ------------------------------------------------
31361
+ ---------------------------------------------
31362
+ RemotePartial::ResourceManagerTest: test_html
31363
+ ---------------------------------------------
31364
+ --------------------------------------------------------
31365
+ RemotePartial::ResourceManagerTest: test_html_with_limit
31366
+ --------------------------------------------------------
31367
+ --------------------------------------------------------------------------------------
31368
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
31369
+ --------------------------------------------------------------------------------------
31370
+ -----------------------------------------------------------
31371
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
31372
+ -----------------------------------------------------------
31373
+ --------------------------------------------------
31374
+ RemotePartial::ResourceManagerTest: test_output_to
31375
+ --------------------------------------------------
31376
+ ---------------------------------------------
31377
+ RemotePartial::ResourceManagerTest: test_stub
31378
+ ---------------------------------------------
31379
+ --------------------------------------
31380
+ RemotePartial::YamlStoreTest: test_all
31381
+ --------------------------------------
31382
+ ----------------------------------------------------
31383
+ RemotePartial::YamlStoreTest: test_all_with_no_items
31384
+ ----------------------------------------------------
31385
+ ----------------------------------------
31386
+ RemotePartial::YamlStoreTest: test_count
31387
+ ----------------------------------------
31388
+ -----------------------------------------
31389
+ RemotePartial::YamlStoreTest: test_create
31390
+ -----------------------------------------
31391
+ ---------------------------------------------
31392
+ RemotePartial::YamlStoreTest: test_created_at
31393
+ ---------------------------------------------
31394
+ -------------------------------------------------------------------
31395
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
31396
+ -------------------------------------------------------------------
31397
+ ------------------------------------------
31398
+ RemotePartial::YamlStoreTest: test_db_path
31399
+ ------------------------------------------
31400
+ --------------------------------------
31401
+ RemotePartial::YamlStoreTest: test_dir
31402
+ --------------------------------------
31403
+ ---------------------------------------
31404
+ RemotePartial::YamlStoreTest: test_file
31405
+ ---------------------------------------
31406
+ ---------------------------------------
31407
+ RemotePartial::YamlStoreTest: test_find
31408
+ ---------------------------------------
31409
+ -------------------------------------------------------
31410
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
31411
+ -------------------------------------------------------
31412
+ ---------------------------------------------------
31413
+ RemotePartial::YamlStoreTest: test_find_with_symbol
31414
+ ---------------------------------------------------
31415
+ -----------------------------------------
31416
+ RemotePartial::YamlStoreTest: test_merge!
31417
+ -----------------------------------------
31418
+ --------------------------------------
31419
+ RemotePartial::YamlStoreTest: test_new
31420
+ --------------------------------------
31421
+ ---------------------------------------
31422
+ RemotePartial::YamlStoreTest: test_read
31423
+ ---------------------------------------
31424
+ -----------------------------------------------------------
31425
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
31426
+ -----------------------------------------------------------
31427
+ ---------------------------------------
31428
+ RemotePartial::YamlStoreTest: test_root
31429
+ ---------------------------------------
31430
+ ---------------------------------------
31431
+ RemotePartial::YamlStoreTest: test_save
31432
+ ---------------------------------------
31433
+ ------------------------------------------------------
31434
+ RemotePartial::YamlStoreTest: test_save_without_a_name
31435
+ ------------------------------------------------------
31436
+ ----------------------------------------------
31437
+ RemotePartial::YamlStoreTest: test_string_keys
31438
+ ----------------------------------------------
31439
+ ---------------------------------------------
31440
+ RemotePartial::YamlStoreTest: test_updated_at
31441
+ ---------------------------------------------
31442
+ ------------------------------------------------------------------
31443
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
31444
+ ------------------------------------------------------------------
31445
+ ----------------------------------------
31446
+ RemotePartial::YamlStoreTest: test_write
31447
+ ----------------------------------------
31448
+ ------------------------------
31449
+ RemotePartialTest: test_define
31450
+ ------------------------------
31451
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31452
+
31453
+ You can stub this request with the following snippet:
31454
+
31455
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
31456
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31457
+ to_return(:status => 200, :body => "", :headers => {})
31458
+
31459
+ ============================================================>
31460
+ -----------------------------------------------
31461
+ RemotePartialTest: test_define_with_string_keys
31462
+ -----------------------------------------------
31463
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31464
+
31465
+ You can stub this request with the following snippet:
31466
+
31467
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
31468
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31469
+ to_return(:status => 200, :body => "", :headers => {})
31470
+
31471
+ ============================================================>
31472
+ -----------------------------
31473
+ RemotePartialTest: test_truth
31474
+ -----------------------------
31475
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31476
+
31477
+ You can stub this request with the following snippet:
31478
+
31479
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
31480
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31481
+ to_return(:status => 200, :body => "", :headers => {})
31482
+
31483
+ ============================================================>
31484
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31485
+
31486
+ You can stub this request with the following snippet:
31487
+
31488
+ stub_request(:get, "http://www.ruby-lang.org/en/").
31489
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31490
+ to_return(:status => 200, :body => "", :headers => {})
31491
+
31492
+ ============================================================>
31493
+ -------------------------------
31494
+ DemosControllerTest: test_index
31495
+ -------------------------------
31496
+ Processing by DemosController#index as HTML
31497
+ Rendered demos/index.html.erb within layouts/application (23.5ms)
31498
+ Completed 200 OK in 44ms (Views: 43.2ms)
31499
+ ------------------------------------
31500
+ DemosControllerTest: test_show_fixed
31501
+ ------------------------------------
31502
+ Processing by DemosController#show as HTML
31503
+ Parameters: {"id"=>"fixed"}
31504
+ Rendered remote_partials/_fixed.html.erb (0.5ms)
31505
+ Rendered demos/_fixed.html.erb (3.7ms)
31506
+ Completed 200 OK in 12ms (Views: 11.6ms)
31507
+ -----------------------------------------------------------
31508
+ DemosHelperTest: test_render_remote_partial_with_no_partial
31509
+ -----------------------------------------------------------
31510
+ --------------------------------------
31511
+ RemotePartial::BuilderTest: test_build
31512
+ --------------------------------------
31513
+ ------------------------------------------------------------
31514
+ RemotePartial::BuilderTest: test_build_with_existing_partial
31515
+ ------------------------------------------------------------
31516
+ ------------------------------------------------------------------
31517
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
31518
+ ------------------------------------------------------------------
31519
+ ------------------------------------------------------
31520
+ RemotePartial::BuilderTest: test_build_with_http_error
31521
+ ------------------------------------------------------
31522
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
31523
+ -------------------------------------------------------------
31524
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
31525
+ -------------------------------------------------------------
31526
+ ---------------------------------------------------------
31527
+ RemotePartial::BuilderTest: test_create_or_update_partial
31528
+ ---------------------------------------------------------
31529
+ -----------------------------------------------------------------------------------
31530
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
31531
+ -----------------------------------------------------------------------------------
31532
+ ----------------------------------------------------------------------------
31533
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
31534
+ ----------------------------------------------------------------------------
31535
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
31536
+ ----------------------------------------------------------------
31537
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
31538
+ ----------------------------------------------------------------
31539
+ -------------------------------------------------
31540
+ RemotePartial::PartialTest: test_output_file_name
31541
+ -------------------------------------------------
31542
+ --------------------------------------------------------
31543
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
31544
+ --------------------------------------------------------
31545
+ --------------------------------------------------------
31546
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
31547
+ --------------------------------------------------------
31548
+ ------------------------------------------------------------------
31549
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
31550
+ ------------------------------------------------------------------
31551
+ --------------------------------------------------------
31552
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
31553
+ --------------------------------------------------------
31554
+ --------------------------------------------
31555
+ RemotePartial::PartialTest: test_update_file
31556
+ --------------------------------------------
31557
+ ------------------------------------------------------------------------
31558
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
31559
+ ------------------------------------------------------------------------
31560
+ -----------------------------------------------------------
31561
+ RemotePartial::PartialTest: test_update_file_with_https_url
31562
+ -----------------------------------------------------------
31563
+ -----------------------------------------------------------------
31564
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
31565
+ -----------------------------------------------------------------
31566
+ ------------------------------------------------
31567
+ RemotePartial::PartialTest: test_update_stale_at
31568
+ ------------------------------------------------
31569
+ --------------------------------------------------
31570
+ RemotePartial::PartialTest: test_update_stale_file
31571
+ --------------------------------------------------
31572
+ -----------------------------------------------------------------
31573
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
31574
+ -----------------------------------------------------------------
31575
+ -----------------------------------------------------------
31576
+ RemotePartial::ResourceManagerTest: test_connection_failure
31577
+ -----------------------------------------------------------
31578
+ ------------------------------------------------------------------------------
31579
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
31580
+ ------------------------------------------------------------------------------
31581
+ -------------------------------------------------
31582
+ RemotePartial::ResourceManagerTest: test_get_page
31583
+ -------------------------------------------------
31584
+ ------------------------------------------------
31585
+ RemotePartial::ResourceManagerTest: test_get_raw
31586
+ ------------------------------------------------
31587
+ ---------------------------------------------
31588
+ RemotePartial::ResourceManagerTest: test_html
31589
+ ---------------------------------------------
31590
+ --------------------------------------------------------
31591
+ RemotePartial::ResourceManagerTest: test_html_with_limit
31592
+ --------------------------------------------------------
31593
+ --------------------------------------------------------------------------------------
31594
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
31595
+ --------------------------------------------------------------------------------------
31596
+ -----------------------------------------------------------
31597
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
31598
+ -----------------------------------------------------------
31599
+ --------------------------------------------------
31600
+ RemotePartial::ResourceManagerTest: test_output_to
31601
+ --------------------------------------------------
31602
+ ---------------------------------------------
31603
+ RemotePartial::ResourceManagerTest: test_stub
31604
+ ---------------------------------------------
31605
+ --------------------------------------
31606
+ RemotePartial::YamlStoreTest: test_all
31607
+ --------------------------------------
31608
+ ----------------------------------------------------
31609
+ RemotePartial::YamlStoreTest: test_all_with_no_items
31610
+ ----------------------------------------------------
31611
+ ----------------------------------------
31612
+ RemotePartial::YamlStoreTest: test_count
31613
+ ----------------------------------------
31614
+ -----------------------------------------
31615
+ RemotePartial::YamlStoreTest: test_create
31616
+ -----------------------------------------
31617
+ ---------------------------------------------
31618
+ RemotePartial::YamlStoreTest: test_created_at
31619
+ ---------------------------------------------
31620
+ -------------------------------------------------------------------
31621
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
31622
+ -------------------------------------------------------------------
31623
+ ------------------------------------------
31624
+ RemotePartial::YamlStoreTest: test_db_path
31625
+ ------------------------------------------
31626
+ --------------------------------------
31627
+ RemotePartial::YamlStoreTest: test_dir
31628
+ --------------------------------------
31629
+ ---------------------------------------
31630
+ RemotePartial::YamlStoreTest: test_file
31631
+ ---------------------------------------
31632
+ ---------------------------------------
31633
+ RemotePartial::YamlStoreTest: test_find
31634
+ ---------------------------------------
31635
+ -------------------------------------------------------
31636
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
31637
+ -------------------------------------------------------
31638
+ ---------------------------------------------------
31639
+ RemotePartial::YamlStoreTest: test_find_with_symbol
31640
+ ---------------------------------------------------
31641
+ -----------------------------------------
31642
+ RemotePartial::YamlStoreTest: test_merge!
31643
+ -----------------------------------------
31644
+ --------------------------------------
31645
+ RemotePartial::YamlStoreTest: test_new
31646
+ --------------------------------------
31647
+ ---------------------------------------
31648
+ RemotePartial::YamlStoreTest: test_read
31649
+ ---------------------------------------
31650
+ -----------------------------------------------------------
31651
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
31652
+ -----------------------------------------------------------
31653
+ ---------------------------------------
31654
+ RemotePartial::YamlStoreTest: test_root
31655
+ ---------------------------------------
31656
+ ---------------------------------------
31657
+ RemotePartial::YamlStoreTest: test_save
31658
+ ---------------------------------------
31659
+ ------------------------------------------------------
31660
+ RemotePartial::YamlStoreTest: test_save_without_a_name
31661
+ ------------------------------------------------------
31662
+ ----------------------------------------------
31663
+ RemotePartial::YamlStoreTest: test_string_keys
31664
+ ----------------------------------------------
31665
+ ---------------------------------------------
31666
+ RemotePartial::YamlStoreTest: test_updated_at
31667
+ ---------------------------------------------
31668
+ ------------------------------------------------------------------
31669
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
31670
+ ------------------------------------------------------------------
31671
+ ----------------------------------------
31672
+ RemotePartial::YamlStoreTest: test_write
31673
+ ----------------------------------------
31674
+ ------------------------------
31675
+ RemotePartialTest: test_define
31676
+ ------------------------------
31677
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31678
+
31679
+ You can stub this request with the following snippet:
31680
+
31681
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
31682
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31683
+ to_return(:status => 200, :body => "", :headers => {})
31684
+
31685
+ ============================================================>
31686
+ -----------------------------------------------
31687
+ RemotePartialTest: test_define_with_string_keys
31688
+ -----------------------------------------------
31689
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31690
+
31691
+ You can stub this request with the following snippet:
31692
+
31693
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
31694
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31695
+ to_return(:status => 200, :body => "", :headers => {})
31696
+
31697
+ ============================================================>
31698
+ -----------------------------
31699
+ RemotePartialTest: test_truth
31700
+ -----------------------------
31701
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31702
+
31703
+ You can stub this request with the following snippet:
31704
+
31705
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
31706
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31707
+ to_return(:status => 200, :body => "", :headers => {})
31708
+
31709
+ ============================================================>
31710
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31711
+
31712
+ You can stub this request with the following snippet:
31713
+
31714
+ stub_request(:get, "http://www.ruby-lang.org/en/").
31715
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31716
+ to_return(:status => 200, :body => "", :headers => {})
31717
+
31718
+ ============================================================>
31719
+ -------------------------------
31720
+ DemosControllerTest: test_index
31721
+ -------------------------------
31722
+ Processing by DemosController#index as HTML
31723
+ Rendered demos/index.html.erb within layouts/application (23.9ms)
31724
+ Completed 200 OK in 44ms (Views: 44.0ms)
31725
+ ------------------------------------
31726
+ DemosControllerTest: test_show_fixed
31727
+ ------------------------------------
31728
+ Processing by DemosController#show as HTML
31729
+ Parameters: {"id"=>"fixed"}
31730
+ Rendered remote_partials/_fixed.html.erb (0.4ms)
31731
+ Rendered demos/_fixed.html.erb (2.4ms)
31732
+ Completed 200 OK in 8ms (Views: 8.0ms)
31733
+ -----------------------------------------------------------
31734
+ DemosHelperTest: test_render_remote_partial_with_no_partial
31735
+ -----------------------------------------------------------
31736
+ --------------------------------------
31737
+ RemotePartial::BuilderTest: test_build
31738
+ --------------------------------------
31739
+ ------------------------------------------------------------
31740
+ RemotePartial::BuilderTest: test_build_with_existing_partial
31741
+ ------------------------------------------------------------
31742
+ ------------------------------------------------------------------
31743
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
31744
+ ------------------------------------------------------------------
31745
+ ------------------------------------------------------
31746
+ RemotePartial::BuilderTest: test_build_with_http_error
31747
+ ------------------------------------------------------
31748
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
31749
+ -------------------------------------------------------------
31750
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
31751
+ -------------------------------------------------------------
31752
+ ---------------------------------------------------------
31753
+ RemotePartial::BuilderTest: test_create_or_update_partial
31754
+ ---------------------------------------------------------
31755
+ -----------------------------------------------------------------------------------
31756
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
31757
+ -----------------------------------------------------------------------------------
31758
+ ----------------------------------------------------------------------------
31759
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
31760
+ ----------------------------------------------------------------------------
31761
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
31762
+ ----------------------------------------------------------------
31763
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
31764
+ ----------------------------------------------------------------
31765
+ -------------------------------------------------
31766
+ RemotePartial::PartialTest: test_output_file_name
31767
+ -------------------------------------------------
31768
+ --------------------------------------------------------
31769
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
31770
+ --------------------------------------------------------
31771
+ --------------------------------------------------------
31772
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
31773
+ --------------------------------------------------------
31774
+ ------------------------------------------------------------------
31775
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
31776
+ ------------------------------------------------------------------
31777
+ --------------------------------------------------------
31778
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
31779
+ --------------------------------------------------------
31780
+ --------------------------------------------
31781
+ RemotePartial::PartialTest: test_update_file
31782
+ --------------------------------------------
31783
+ ------------------------------------------------------------------------
31784
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
31785
+ ------------------------------------------------------------------------
31786
+ -----------------------------------------------------------
31787
+ RemotePartial::PartialTest: test_update_file_with_https_url
31788
+ -----------------------------------------------------------
31789
+ -----------------------------------------------------------------
31790
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
31791
+ -----------------------------------------------------------------
31792
+ ------------------------------------------------
31793
+ RemotePartial::PartialTest: test_update_stale_at
31794
+ ------------------------------------------------
31795
+ --------------------------------------------------
31796
+ RemotePartial::PartialTest: test_update_stale_file
31797
+ --------------------------------------------------
31798
+ -----------------------------------------------------------------
31799
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
31800
+ -----------------------------------------------------------------
31801
+ -----------------------------------------------------------
31802
+ RemotePartial::ResourceManagerTest: test_connection_failure
31803
+ -----------------------------------------------------------
31804
+ ------------------------------------------------------------------------------
31805
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
31806
+ ------------------------------------------------------------------------------
31807
+ -------------------------------------------------
31808
+ RemotePartial::ResourceManagerTest: test_get_page
31809
+ -------------------------------------------------
31810
+ ------------------------------------------------
31811
+ RemotePartial::ResourceManagerTest: test_get_raw
31812
+ ------------------------------------------------
31813
+ ---------------------------------------------
31814
+ RemotePartial::ResourceManagerTest: test_html
31815
+ ---------------------------------------------
31816
+ --------------------------------------------------------
31817
+ RemotePartial::ResourceManagerTest: test_html_with_limit
31818
+ --------------------------------------------------------
31819
+ --------------------------------------------------------------------------------------
31820
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
31821
+ --------------------------------------------------------------------------------------
31822
+ -----------------------------------------------------------
31823
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
31824
+ -----------------------------------------------------------
31825
+ --------------------------------------------------
31826
+ RemotePartial::ResourceManagerTest: test_output_to
31827
+ --------------------------------------------------
31828
+ ---------------------------------------------
31829
+ RemotePartial::ResourceManagerTest: test_stub
31830
+ ---------------------------------------------
31831
+ --------------------------------------
31832
+ RemotePartial::YamlStoreTest: test_all
31833
+ --------------------------------------
31834
+ ----------------------------------------------------
31835
+ RemotePartial::YamlStoreTest: test_all_with_no_items
31836
+ ----------------------------------------------------
31837
+ ----------------------------------------
31838
+ RemotePartial::YamlStoreTest: test_count
31839
+ ----------------------------------------
31840
+ -----------------------------------------
31841
+ RemotePartial::YamlStoreTest: test_create
31842
+ -----------------------------------------
31843
+ ---------------------------------------------
31844
+ RemotePartial::YamlStoreTest: test_created_at
31845
+ ---------------------------------------------
31846
+ -------------------------------------------------------------------
31847
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
31848
+ -------------------------------------------------------------------
31849
+ ------------------------------------------
31850
+ RemotePartial::YamlStoreTest: test_db_path
31851
+ ------------------------------------------
31852
+ --------------------------------------
31853
+ RemotePartial::YamlStoreTest: test_dir
31854
+ --------------------------------------
31855
+ ---------------------------------------
31856
+ RemotePartial::YamlStoreTest: test_file
31857
+ ---------------------------------------
31858
+ ---------------------------------------
31859
+ RemotePartial::YamlStoreTest: test_find
31860
+ ---------------------------------------
31861
+ -------------------------------------------------------
31862
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
31863
+ -------------------------------------------------------
31864
+ ---------------------------------------------------
31865
+ RemotePartial::YamlStoreTest: test_find_with_symbol
31866
+ ---------------------------------------------------
31867
+ -----------------------------------------
31868
+ RemotePartial::YamlStoreTest: test_merge!
31869
+ -----------------------------------------
31870
+ --------------------------------------
31871
+ RemotePartial::YamlStoreTest: test_new
31872
+ --------------------------------------
31873
+ ---------------------------------------
31874
+ RemotePartial::YamlStoreTest: test_read
31875
+ ---------------------------------------
31876
+ -----------------------------------------------------------
31877
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
31878
+ -----------------------------------------------------------
31879
+ ---------------------------------------
31880
+ RemotePartial::YamlStoreTest: test_root
31881
+ ---------------------------------------
31882
+ ---------------------------------------
31883
+ RemotePartial::YamlStoreTest: test_save
31884
+ ---------------------------------------
31885
+ ------------------------------------------------------
31886
+ RemotePartial::YamlStoreTest: test_save_without_a_name
31887
+ ------------------------------------------------------
31888
+ ----------------------------------------------
31889
+ RemotePartial::YamlStoreTest: test_string_keys
31890
+ ----------------------------------------------
31891
+ ---------------------------------------------
31892
+ RemotePartial::YamlStoreTest: test_updated_at
31893
+ ---------------------------------------------
31894
+ ------------------------------------------------------------------
31895
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
31896
+ ------------------------------------------------------------------
31897
+ ----------------------------------------
31898
+ RemotePartial::YamlStoreTest: test_write
31899
+ ----------------------------------------
31900
+ ------------------------------
31901
+ RemotePartialTest: test_define
31902
+ ------------------------------
31903
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31904
+
31905
+ You can stub this request with the following snippet:
31906
+
31907
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
31908
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31909
+ to_return(:status => 200, :body => "", :headers => {})
31910
+
31911
+ ============================================================>
31912
+ -----------------------------------------------
31913
+ RemotePartialTest: test_define_with_string_keys
31914
+ -----------------------------------------------
31915
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31916
+
31917
+ You can stub this request with the following snippet:
31918
+
31919
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
31920
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31921
+ to_return(:status => 200, :body => "", :headers => {})
31922
+
31923
+ ============================================================>
31924
+ -----------------------------
31925
+ RemotePartialTest: test_truth
31926
+ -----------------------------
31927
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31928
+
31929
+ You can stub this request with the following snippet:
31930
+
31931
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
31932
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31933
+ to_return(:status => 200, :body => "", :headers => {})
31934
+
31935
+ ============================================================>
31936
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
31937
+
31938
+ You can stub this request with the following snippet:
31939
+
31940
+ stub_request(:get, "http://www.ruby-lang.org/en/").
31941
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
31942
+ to_return(:status => 200, :body => "", :headers => {})
31943
+
31944
+ ============================================================>
31945
+ -------------------------------
31946
+ DemosControllerTest: test_index
31947
+ -------------------------------
31948
+ Processing by DemosController#index as HTML
31949
+ Rendered demos/index.html.erb within layouts/application (22.0ms)
31950
+ Completed 200 OK in 39ms (Views: 38.7ms)
31951
+ ------------------------------------
31952
+ DemosControllerTest: test_show_fixed
31953
+ ------------------------------------
31954
+ Processing by DemosController#show as HTML
31955
+ Parameters: {"id"=>"fixed"}
31956
+ Rendered remote_partials/_fixed.html.erb (0.7ms)
31957
+ Rendered demos/_fixed.html.erb (2.3ms)
31958
+ Completed 200 OK in 8ms (Views: 7.8ms)
31959
+ -----------------------------------------------------------
31960
+ DemosHelperTest: test_render_remote_partial_with_no_partial
31961
+ -----------------------------------------------------------
31962
+ --------------------------------------
31963
+ RemotePartial::BuilderTest: test_build
31964
+ --------------------------------------
31965
+ ------------------------------------------------------------
31966
+ RemotePartial::BuilderTest: test_build_with_existing_partial
31967
+ ------------------------------------------------------------
31968
+ ------------------------------------------------------------------
31969
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
31970
+ ------------------------------------------------------------------
31971
+ ------------------------------------------------------
31972
+ RemotePartial::BuilderTest: test_build_with_http_error
31973
+ ------------------------------------------------------
31974
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
31975
+ -------------------------------------------------------------
31976
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
31977
+ -------------------------------------------------------------
31978
+ ---------------------------------------------------------
31979
+ RemotePartial::BuilderTest: test_create_or_update_partial
31980
+ ---------------------------------------------------------
31981
+ -----------------------------------------------------------------------------------
31982
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
31983
+ -----------------------------------------------------------------------------------
31984
+ ----------------------------------------------------------------------------
31985
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
31986
+ ----------------------------------------------------------------------------
31987
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
31988
+ ----------------------------------------------------------------
31989
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
31990
+ ----------------------------------------------------------------
31991
+ -------------------------------------------------
31992
+ RemotePartial::PartialTest: test_output_file_name
31993
+ -------------------------------------------------
31994
+ --------------------------------------------------------
31995
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
31996
+ --------------------------------------------------------
31997
+ --------------------------------------------------------
31998
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
31999
+ --------------------------------------------------------
32000
+ ------------------------------------------------------------------
32001
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
32002
+ ------------------------------------------------------------------
32003
+ --------------------------------------------------------
32004
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
32005
+ --------------------------------------------------------
32006
+ --------------------------------------------
32007
+ RemotePartial::PartialTest: test_update_file
32008
+ --------------------------------------------
32009
+ ------------------------------------------------------------------------
32010
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
32011
+ ------------------------------------------------------------------------
32012
+ -----------------------------------------------------------
32013
+ RemotePartial::PartialTest: test_update_file_with_https_url
32014
+ -----------------------------------------------------------
32015
+ -----------------------------------------------------------------
32016
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
32017
+ -----------------------------------------------------------------
32018
+ ------------------------------------------------
32019
+ RemotePartial::PartialTest: test_update_stale_at
32020
+ ------------------------------------------------
32021
+ --------------------------------------------------
32022
+ RemotePartial::PartialTest: test_update_stale_file
32023
+ --------------------------------------------------
32024
+ -----------------------------------------------------------------
32025
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
32026
+ -----------------------------------------------------------------
32027
+ -----------------------------------------------------------
32028
+ RemotePartial::ResourceManagerTest: test_connection_failure
32029
+ -----------------------------------------------------------
32030
+ ------------------------------------------------------------------------------
32031
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
32032
+ ------------------------------------------------------------------------------
32033
+ -------------------------------------------------
32034
+ RemotePartial::ResourceManagerTest: test_get_page
32035
+ -------------------------------------------------
32036
+ ------------------------------------------------
32037
+ RemotePartial::ResourceManagerTest: test_get_raw
32038
+ ------------------------------------------------
32039
+ ----------------------------------------------------------
32040
+ RemotePartial::ResourceManagerTest: test_get_raw_with_http
32041
+ ----------------------------------------------------------
32042
+ ---------------------------------------------
32043
+ RemotePartial::ResourceManagerTest: test_html
32044
+ ---------------------------------------------
32045
+ --------------------------------------------------------
32046
+ RemotePartial::ResourceManagerTest: test_html_with_limit
32047
+ --------------------------------------------------------
32048
+ --------------------------------------------------------------------------------------
32049
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
32050
+ --------------------------------------------------------------------------------------
32051
+ -----------------------------------------------------------
32052
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
32053
+ -----------------------------------------------------------
32054
+ --------------------------------------------------
32055
+ RemotePartial::ResourceManagerTest: test_output_to
32056
+ --------------------------------------------------
32057
+ ---------------------------------------------
32058
+ RemotePartial::ResourceManagerTest: test_stub
32059
+ ---------------------------------------------
32060
+ --------------------------------------
32061
+ RemotePartial::YamlStoreTest: test_all
32062
+ --------------------------------------
32063
+ ----------------------------------------------------
32064
+ RemotePartial::YamlStoreTest: test_all_with_no_items
32065
+ ----------------------------------------------------
32066
+ ----------------------------------------
32067
+ RemotePartial::YamlStoreTest: test_count
32068
+ ----------------------------------------
32069
+ -----------------------------------------
32070
+ RemotePartial::YamlStoreTest: test_create
32071
+ -----------------------------------------
32072
+ ---------------------------------------------
32073
+ RemotePartial::YamlStoreTest: test_created_at
32074
+ ---------------------------------------------
32075
+ -------------------------------------------------------------------
32076
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
32077
+ -------------------------------------------------------------------
32078
+ ------------------------------------------
32079
+ RemotePartial::YamlStoreTest: test_db_path
32080
+ ------------------------------------------
32081
+ --------------------------------------
32082
+ RemotePartial::YamlStoreTest: test_dir
32083
+ --------------------------------------
32084
+ ---------------------------------------
32085
+ RemotePartial::YamlStoreTest: test_file
32086
+ ---------------------------------------
32087
+ ---------------------------------------
32088
+ RemotePartial::YamlStoreTest: test_find
32089
+ ---------------------------------------
32090
+ -------------------------------------------------------
32091
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
32092
+ -------------------------------------------------------
32093
+ ---------------------------------------------------
32094
+ RemotePartial::YamlStoreTest: test_find_with_symbol
32095
+ ---------------------------------------------------
32096
+ -----------------------------------------
32097
+ RemotePartial::YamlStoreTest: test_merge!
32098
+ -----------------------------------------
32099
+ --------------------------------------
32100
+ RemotePartial::YamlStoreTest: test_new
32101
+ --------------------------------------
32102
+ ---------------------------------------
32103
+ RemotePartial::YamlStoreTest: test_read
32104
+ ---------------------------------------
32105
+ -----------------------------------------------------------
32106
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
32107
+ -----------------------------------------------------------
32108
+ ---------------------------------------
32109
+ RemotePartial::YamlStoreTest: test_root
32110
+ ---------------------------------------
32111
+ ---------------------------------------
32112
+ RemotePartial::YamlStoreTest: test_save
32113
+ ---------------------------------------
32114
+ ------------------------------------------------------
32115
+ RemotePartial::YamlStoreTest: test_save_without_a_name
32116
+ ------------------------------------------------------
32117
+ ----------------------------------------------
32118
+ RemotePartial::YamlStoreTest: test_string_keys
32119
+ ----------------------------------------------
32120
+ ---------------------------------------------
32121
+ RemotePartial::YamlStoreTest: test_updated_at
32122
+ ---------------------------------------------
32123
+ ------------------------------------------------------------------
32124
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
32125
+ ------------------------------------------------------------------
32126
+ ----------------------------------------
32127
+ RemotePartial::YamlStoreTest: test_write
32128
+ ----------------------------------------
32129
+ ------------------------------
32130
+ RemotePartialTest: test_define
32131
+ ------------------------------
32132
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32133
+
32134
+ You can stub this request with the following snippet:
32135
+
32136
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
32137
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32138
+ to_return(:status => 200, :body => "", :headers => {})
32139
+
32140
+ ============================================================>
32141
+ -----------------------------------------------
32142
+ RemotePartialTest: test_define_with_string_keys
32143
+ -----------------------------------------------
32144
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32145
+
32146
+ You can stub this request with the following snippet:
32147
+
32148
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
32149
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32150
+ to_return(:status => 200, :body => "", :headers => {})
32151
+
32152
+ ============================================================>
32153
+ -----------------------------
32154
+ RemotePartialTest: test_truth
32155
+ -----------------------------
32156
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32157
+
32158
+ You can stub this request with the following snippet:
32159
+
32160
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
32161
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32162
+ to_return(:status => 200, :body => "", :headers => {})
32163
+
32164
+ ============================================================>
32165
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32166
+
32167
+ You can stub this request with the following snippet:
32168
+
32169
+ stub_request(:get, "http://www.ruby-lang.org/en/").
32170
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32171
+ to_return(:status => 200, :body => "", :headers => {})
32172
+
32173
+ ============================================================>
32174
+ -------------------------------
32175
+ DemosControllerTest: test_index
32176
+ -------------------------------
32177
+ Processing by DemosController#index as HTML
32178
+ Rendered demos/index.html.erb within layouts/application (24.8ms)
32179
+ Completed 200 OK in 50ms (Views: 50.0ms)
32180
+ ------------------------------------
32181
+ DemosControllerTest: test_show_fixed
32182
+ ------------------------------------
32183
+ Processing by DemosController#show as HTML
32184
+ Parameters: {"id"=>"fixed"}
32185
+ Rendered remote_partials/_fixed.html.erb (0.3ms)
32186
+ Rendered demos/_fixed.html.erb (2.6ms)
32187
+ Completed 200 OK in 9ms (Views: 9.0ms)
32188
+ -----------------------------------------------------------
32189
+ DemosHelperTest: test_render_remote_partial_with_no_partial
32190
+ -----------------------------------------------------------
32191
+ --------------------------------------
32192
+ RemotePartial::BuilderTest: test_build
32193
+ --------------------------------------
32194
+ ------------------------------------------------------------
32195
+ RemotePartial::BuilderTest: test_build_with_existing_partial
32196
+ ------------------------------------------------------------
32197
+ ------------------------------------------------------------------
32198
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
32199
+ ------------------------------------------------------------------
32200
+ ------------------------------------------------------
32201
+ RemotePartial::BuilderTest: test_build_with_http_error
32202
+ ------------------------------------------------------
32203
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
32204
+ -------------------------------------------------------------
32205
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
32206
+ -------------------------------------------------------------
32207
+ ---------------------------------------------------------
32208
+ RemotePartial::BuilderTest: test_create_or_update_partial
32209
+ ---------------------------------------------------------
32210
+ -----------------------------------------------------------------------------------
32211
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
32212
+ -----------------------------------------------------------------------------------
32213
+ ----------------------------------------------------------------------------
32214
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
32215
+ ----------------------------------------------------------------------------
32216
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
32217
+ ----------------------------------------------------------------
32218
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
32219
+ ----------------------------------------------------------------
32220
+ -------------------------------------------------
32221
+ RemotePartial::PartialTest: test_output_file_name
32222
+ -------------------------------------------------
32223
+ --------------------------------------------------------
32224
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
32225
+ --------------------------------------------------------
32226
+ --------------------------------------------------------
32227
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
32228
+ --------------------------------------------------------
32229
+ ------------------------------------------------------------------
32230
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
32231
+ ------------------------------------------------------------------
32232
+ --------------------------------------------------------
32233
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
32234
+ --------------------------------------------------------
32235
+ --------------------------------------------
32236
+ RemotePartial::PartialTest: test_update_file
32237
+ --------------------------------------------
32238
+ ------------------------------------------------------------------------
32239
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
32240
+ ------------------------------------------------------------------------
32241
+ -----------------------------------------------------------
32242
+ RemotePartial::PartialTest: test_update_file_with_https_url
32243
+ -----------------------------------------------------------
32244
+ -----------------------------------------------------------------
32245
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
32246
+ -----------------------------------------------------------------
32247
+ ------------------------------------------------
32248
+ RemotePartial::PartialTest: test_update_stale_at
32249
+ ------------------------------------------------
32250
+ --------------------------------------------------
32251
+ RemotePartial::PartialTest: test_update_stale_file
32252
+ --------------------------------------------------
32253
+ -----------------------------------------------------------------
32254
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
32255
+ -----------------------------------------------------------------
32256
+ -----------------------------------------------------------
32257
+ RemotePartial::ResourceManagerTest: test_connection_failure
32258
+ -----------------------------------------------------------
32259
+ ------------------------------------------------------------------------------
32260
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
32261
+ ------------------------------------------------------------------------------
32262
+ -------------------------------------------------
32263
+ RemotePartial::ResourceManagerTest: test_get_page
32264
+ -------------------------------------------------
32265
+ ------------------------------------------------
32266
+ RemotePartial::ResourceManagerTest: test_get_raw
32267
+ ------------------------------------------------
32268
+ ----------------------------------------------------------
32269
+ RemotePartial::ResourceManagerTest: test_get_raw_with_http
32270
+ ----------------------------------------------------------
32271
+ ---------------------------------------------
32272
+ RemotePartial::ResourceManagerTest: test_html
32273
+ ---------------------------------------------
32274
+ --------------------------------------------------------
32275
+ RemotePartial::ResourceManagerTest: test_html_with_limit
32276
+ --------------------------------------------------------
32277
+ --------------------------------------------------------------------------------------
32278
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
32279
+ --------------------------------------------------------------------------------------
32280
+ -----------------------------------------------------------
32281
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
32282
+ -----------------------------------------------------------
32283
+ --------------------------------------------------
32284
+ RemotePartial::ResourceManagerTest: test_output_to
32285
+ --------------------------------------------------
32286
+ ---------------------------------------------
32287
+ RemotePartial::ResourceManagerTest: test_stub
32288
+ ---------------------------------------------
32289
+ --------------------------------------
32290
+ RemotePartial::YamlStoreTest: test_all
32291
+ --------------------------------------
32292
+ ----------------------------------------------------
32293
+ RemotePartial::YamlStoreTest: test_all_with_no_items
32294
+ ----------------------------------------------------
32295
+ ----------------------------------------
32296
+ RemotePartial::YamlStoreTest: test_count
32297
+ ----------------------------------------
32298
+ -----------------------------------------
32299
+ RemotePartial::YamlStoreTest: test_create
32300
+ -----------------------------------------
32301
+ ---------------------------------------------
32302
+ RemotePartial::YamlStoreTest: test_created_at
32303
+ ---------------------------------------------
32304
+ -------------------------------------------------------------------
32305
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
32306
+ -------------------------------------------------------------------
32307
+ ------------------------------------------
32308
+ RemotePartial::YamlStoreTest: test_db_path
32309
+ ------------------------------------------
32310
+ --------------------------------------
32311
+ RemotePartial::YamlStoreTest: test_dir
32312
+ --------------------------------------
32313
+ ---------------------------------------
32314
+ RemotePartial::YamlStoreTest: test_file
32315
+ ---------------------------------------
32316
+ ---------------------------------------
32317
+ RemotePartial::YamlStoreTest: test_find
32318
+ ---------------------------------------
32319
+ -------------------------------------------------------
32320
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
32321
+ -------------------------------------------------------
32322
+ ---------------------------------------------------
32323
+ RemotePartial::YamlStoreTest: test_find_with_symbol
32324
+ ---------------------------------------------------
32325
+ -----------------------------------------
32326
+ RemotePartial::YamlStoreTest: test_merge!
32327
+ -----------------------------------------
32328
+ --------------------------------------
32329
+ RemotePartial::YamlStoreTest: test_new
32330
+ --------------------------------------
32331
+ ---------------------------------------
32332
+ RemotePartial::YamlStoreTest: test_read
32333
+ ---------------------------------------
32334
+ -----------------------------------------------------------
32335
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
32336
+ -----------------------------------------------------------
32337
+ ---------------------------------------
32338
+ RemotePartial::YamlStoreTest: test_root
32339
+ ---------------------------------------
32340
+ ---------------------------------------
32341
+ RemotePartial::YamlStoreTest: test_save
32342
+ ---------------------------------------
32343
+ ------------------------------------------------------
32344
+ RemotePartial::YamlStoreTest: test_save_without_a_name
32345
+ ------------------------------------------------------
32346
+ ----------------------------------------------
32347
+ RemotePartial::YamlStoreTest: test_string_keys
32348
+ ----------------------------------------------
32349
+ ---------------------------------------------
32350
+ RemotePartial::YamlStoreTest: test_updated_at
32351
+ ---------------------------------------------
32352
+ ------------------------------------------------------------------
32353
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
32354
+ ------------------------------------------------------------------
32355
+ ----------------------------------------
32356
+ RemotePartial::YamlStoreTest: test_write
32357
+ ----------------------------------------
32358
+ ------------------------------
32359
+ RemotePartialTest: test_define
32360
+ ------------------------------
32361
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32362
+
32363
+ You can stub this request with the following snippet:
32364
+
32365
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
32366
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32367
+ to_return(:status => 200, :body => "", :headers => {})
32368
+
32369
+ ============================================================>
32370
+ -----------------------------------------------
32371
+ RemotePartialTest: test_define_with_string_keys
32372
+ -----------------------------------------------
32373
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32374
+
32375
+ You can stub this request with the following snippet:
32376
+
32377
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
32378
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32379
+ to_return(:status => 200, :body => "", :headers => {})
32380
+
32381
+ ============================================================>
32382
+ -----------------------------
32383
+ RemotePartialTest: test_truth
32384
+ -----------------------------
32385
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32386
+
32387
+ You can stub this request with the following snippet:
32388
+
32389
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
32390
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32391
+ to_return(:status => 200, :body => "", :headers => {})
32392
+
32393
+ ============================================================>
32394
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32395
+
32396
+ You can stub this request with the following snippet:
32397
+
32398
+ stub_request(:get, "http://www.ruby-lang.org/en/").
32399
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32400
+ to_return(:status => 200, :body => "", :headers => {})
32401
+
32402
+ ============================================================>
32403
+ -------------------------------
32404
+ DemosControllerTest: test_index
32405
+ -------------------------------
32406
+ Processing by DemosController#index as HTML
32407
+ Rendered demos/index.html.erb within layouts/application (30.0ms)
32408
+ Completed 200 OK in 48ms (Views: 48.0ms)
32409
+ ------------------------------------
32410
+ DemosControllerTest: test_show_fixed
32411
+ ------------------------------------
32412
+ Processing by DemosController#show as HTML
32413
+ Parameters: {"id"=>"fixed"}
32414
+ Rendered remote_partials/_fixed.html.erb (0.3ms)
32415
+ Rendered demos/_fixed.html.erb (2.3ms)
32416
+ Completed 200 OK in 9ms (Views: 8.9ms)
32417
+ -----------------------------------------------------------
32418
+ DemosHelperTest: test_render_remote_partial_with_no_partial
32419
+ -----------------------------------------------------------
32420
+ --------------------------------------
32421
+ RemotePartial::BuilderTest: test_build
32422
+ --------------------------------------
32423
+ ------------------------------------------------------------
32424
+ RemotePartial::BuilderTest: test_build_with_existing_partial
32425
+ ------------------------------------------------------------
32426
+ ------------------------------------------------------------------
32427
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
32428
+ ------------------------------------------------------------------
32429
+ ------------------------------------------------------
32430
+ RemotePartial::BuilderTest: test_build_with_http_error
32431
+ ------------------------------------------------------
32432
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
32433
+ -------------------------------------------------------------
32434
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
32435
+ -------------------------------------------------------------
32436
+ ---------------------------------------------------------
32437
+ RemotePartial::BuilderTest: test_create_or_update_partial
32438
+ ---------------------------------------------------------
32439
+ -----------------------------------------------------------------------------------
32440
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
32441
+ -----------------------------------------------------------------------------------
32442
+ ----------------------------------------------------------------------------
32443
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
32444
+ ----------------------------------------------------------------------------
32445
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
32446
+ ----------------------------------------------------------------
32447
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
32448
+ ----------------------------------------------------------------
32449
+ -------------------------------------------------
32450
+ RemotePartial::PartialTest: test_output_file_name
32451
+ -------------------------------------------------
32452
+ --------------------------------------------------------
32453
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
32454
+ --------------------------------------------------------
32455
+ --------------------------------------------------------
32456
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
32457
+ --------------------------------------------------------
32458
+ ------------------------------------------------------------------
32459
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
32460
+ ------------------------------------------------------------------
32461
+ --------------------------------------------------------
32462
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
32463
+ --------------------------------------------------------
32464
+ --------------------------------------------
32465
+ RemotePartial::PartialTest: test_update_file
32466
+ --------------------------------------------
32467
+ ------------------------------------------------------------------------
32468
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
32469
+ ------------------------------------------------------------------------
32470
+ -----------------------------------------------------------
32471
+ RemotePartial::PartialTest: test_update_file_with_https_url
32472
+ -----------------------------------------------------------
32473
+ -----------------------------------------------------------------
32474
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
32475
+ -----------------------------------------------------------------
32476
+ ------------------------------------------------
32477
+ RemotePartial::PartialTest: test_update_stale_at
32478
+ ------------------------------------------------
32479
+ --------------------------------------------------
32480
+ RemotePartial::PartialTest: test_update_stale_file
32481
+ --------------------------------------------------
32482
+ -----------------------------------------------------------------
32483
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
32484
+ -----------------------------------------------------------------
32485
+ -----------------------------------------------------------
32486
+ RemotePartial::ResourceManagerTest: test_connection_failure
32487
+ -----------------------------------------------------------
32488
+ ------------------------------------------------------------------------------
32489
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
32490
+ ------------------------------------------------------------------------------
32491
+ -------------------------------------------------
32492
+ RemotePartial::ResourceManagerTest: test_get_page
32493
+ -------------------------------------------------
32494
+ ------------------------------------------------
32495
+ RemotePartial::ResourceManagerTest: test_get_raw
32496
+ ------------------------------------------------
32497
+ ----------------------------------------------------------
32498
+ RemotePartial::ResourceManagerTest: test_get_raw_with_http
32499
+ ----------------------------------------------------------
32500
+ ---------------------------------------------
32501
+ RemotePartial::ResourceManagerTest: test_html
32502
+ ---------------------------------------------
32503
+ --------------------------------------------------------
32504
+ RemotePartial::ResourceManagerTest: test_html_with_limit
32505
+ --------------------------------------------------------
32506
+ --------------------------------------------------------------------------------------
32507
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
32508
+ --------------------------------------------------------------------------------------
32509
+ -----------------------------------------------------------
32510
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
32511
+ -----------------------------------------------------------
32512
+ --------------------------------------------------
32513
+ RemotePartial::ResourceManagerTest: test_output_to
32514
+ --------------------------------------------------
32515
+ ---------------------------------------------
32516
+ RemotePartial::ResourceManagerTest: test_stub
32517
+ ---------------------------------------------
32518
+ --------------------------------------
32519
+ RemotePartial::YamlStoreTest: test_all
32520
+ --------------------------------------
32521
+ ----------------------------------------------------
32522
+ RemotePartial::YamlStoreTest: test_all_with_no_items
32523
+ ----------------------------------------------------
32524
+ ----------------------------------------
32525
+ RemotePartial::YamlStoreTest: test_count
32526
+ ----------------------------------------
32527
+ -----------------------------------------
32528
+ RemotePartial::YamlStoreTest: test_create
32529
+ -----------------------------------------
32530
+ ---------------------------------------------
32531
+ RemotePartial::YamlStoreTest: test_created_at
32532
+ ---------------------------------------------
32533
+ -------------------------------------------------------------------
32534
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
32535
+ -------------------------------------------------------------------
32536
+ ------------------------------------------
32537
+ RemotePartial::YamlStoreTest: test_db_path
32538
+ ------------------------------------------
32539
+ --------------------------------------
32540
+ RemotePartial::YamlStoreTest: test_dir
32541
+ --------------------------------------
32542
+ ---------------------------------------
32543
+ RemotePartial::YamlStoreTest: test_file
32544
+ ---------------------------------------
32545
+ ---------------------------------------
32546
+ RemotePartial::YamlStoreTest: test_find
32547
+ ---------------------------------------
32548
+ -------------------------------------------------------
32549
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
32550
+ -------------------------------------------------------
32551
+ ---------------------------------------------------
32552
+ RemotePartial::YamlStoreTest: test_find_with_symbol
32553
+ ---------------------------------------------------
32554
+ -----------------------------------------
32555
+ RemotePartial::YamlStoreTest: test_merge!
32556
+ -----------------------------------------
32557
+ --------------------------------------
32558
+ RemotePartial::YamlStoreTest: test_new
32559
+ --------------------------------------
32560
+ ---------------------------------------
32561
+ RemotePartial::YamlStoreTest: test_read
32562
+ ---------------------------------------
32563
+ -----------------------------------------------------------
32564
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
32565
+ -----------------------------------------------------------
32566
+ ---------------------------------------
32567
+ RemotePartial::YamlStoreTest: test_root
32568
+ ---------------------------------------
32569
+ ---------------------------------------
32570
+ RemotePartial::YamlStoreTest: test_save
32571
+ ---------------------------------------
32572
+ ------------------------------------------------------
32573
+ RemotePartial::YamlStoreTest: test_save_without_a_name
32574
+ ------------------------------------------------------
32575
+ ----------------------------------------------
32576
+ RemotePartial::YamlStoreTest: test_string_keys
32577
+ ----------------------------------------------
32578
+ ---------------------------------------------
32579
+ RemotePartial::YamlStoreTest: test_updated_at
32580
+ ---------------------------------------------
32581
+ ------------------------------------------------------------------
32582
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
32583
+ ------------------------------------------------------------------
32584
+ ----------------------------------------
32585
+ RemotePartial::YamlStoreTest: test_write
32586
+ ----------------------------------------
32587
+ ------------------------------
32588
+ RemotePartialTest: test_define
32589
+ ------------------------------
32590
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32591
+
32592
+ You can stub this request with the following snippet:
32593
+
32594
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
32595
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32596
+ to_return(:status => 200, :body => "", :headers => {})
32597
+
32598
+ ============================================================>
32599
+ -----------------------------------------------
32600
+ RemotePartialTest: test_define_with_string_keys
32601
+ -----------------------------------------------
32602
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32603
+
32604
+ You can stub this request with the following snippet:
32605
+
32606
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
32607
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32608
+ to_return(:status => 200, :body => "", :headers => {})
32609
+
32610
+ ============================================================>
32611
+ -----------------------------
32612
+ RemotePartialTest: test_truth
32613
+ -----------------------------
32614
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32615
+
32616
+ You can stub this request with the following snippet:
32617
+
32618
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
32619
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32620
+ to_return(:status => 200, :body => "", :headers => {})
32621
+
32622
+ ============================================================>
32623
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32624
+
32625
+ You can stub this request with the following snippet:
32626
+
32627
+ stub_request(:get, "http://www.ruby-lang.org/en/").
32628
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32629
+ to_return(:status => 200, :body => "", :headers => {})
32630
+
32631
+ ============================================================>
32632
+ -------------------------------
32633
+ DemosControllerTest: test_index
32634
+ -------------------------------
32635
+ Processing by DemosController#index as HTML
32636
+ Rendered demos/index.html.erb within layouts/application (26.6ms)
32637
+ Completed 200 OK in 50ms (Views: 50.1ms)
32638
+ ------------------------------------
32639
+ DemosControllerTest: test_show_fixed
32640
+ ------------------------------------
32641
+ Processing by DemosController#show as HTML
32642
+ Parameters: {"id"=>"fixed"}
32643
+ Rendered remote_partials/_fixed.html.erb (0.8ms)
32644
+ Rendered demos/_fixed.html.erb (2.5ms)
32645
+ Completed 200 OK in 9ms (Views: 8.9ms)
32646
+ -----------------------------------------------------------
32647
+ DemosHelperTest: test_render_remote_partial_with_no_partial
32648
+ -----------------------------------------------------------
32649
+ --------------------------------------
32650
+ RemotePartial::BuilderTest: test_build
32651
+ --------------------------------------
32652
+ ------------------------------------------------------------
32653
+ RemotePartial::BuilderTest: test_build_with_existing_partial
32654
+ ------------------------------------------------------------
32655
+ ------------------------------------------------------------------
32656
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
32657
+ ------------------------------------------------------------------
32658
+ ------------------------------------------------------
32659
+ RemotePartial::BuilderTest: test_build_with_http_error
32660
+ ------------------------------------------------------
32661
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
32662
+ -------------------------------------------------------------
32663
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
32664
+ -------------------------------------------------------------
32665
+ ---------------------------------------------------------
32666
+ RemotePartial::BuilderTest: test_create_or_update_partial
32667
+ ---------------------------------------------------------
32668
+ -----------------------------------------------------------------------------------
32669
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
32670
+ -----------------------------------------------------------------------------------
32671
+ ----------------------------------------------------------------------------
32672
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
32673
+ ----------------------------------------------------------------------------
32674
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
32675
+ ----------------------------------------------------------------
32676
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
32677
+ ----------------------------------------------------------------
32678
+ -------------------------------------------------
32679
+ RemotePartial::PartialTest: test_output_file_name
32680
+ -------------------------------------------------
32681
+ --------------------------------------------------------
32682
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
32683
+ --------------------------------------------------------
32684
+ --------------------------------------------------------
32685
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
32686
+ --------------------------------------------------------
32687
+ ------------------------------------------------------------------
32688
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
32689
+ ------------------------------------------------------------------
32690
+ --------------------------------------------------------
32691
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
32692
+ --------------------------------------------------------
32693
+ --------------------------------------------
32694
+ RemotePartial::PartialTest: test_update_file
32695
+ --------------------------------------------
32696
+ ------------------------------------------------------------------------
32697
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
32698
+ ------------------------------------------------------------------------
32699
+ -----------------------------------------------------------
32700
+ RemotePartial::PartialTest: test_update_file_with_https_url
32701
+ -----------------------------------------------------------
32702
+ -----------------------------------------------------------------
32703
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
32704
+ -----------------------------------------------------------------
32705
+ ------------------------------------------------
32706
+ RemotePartial::PartialTest: test_update_stale_at
32707
+ ------------------------------------------------
32708
+ --------------------------------------------------
32709
+ RemotePartial::PartialTest: test_update_stale_file
32710
+ --------------------------------------------------
32711
+ -----------------------------------------------------------------
32712
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
32713
+ -----------------------------------------------------------------
32714
+ -----------------------------------------------------------
32715
+ RemotePartial::ResourceManagerTest: test_connection_failure
32716
+ -----------------------------------------------------------
32717
+ ------------------------------------------------------------------------------
32718
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
32719
+ ------------------------------------------------------------------------------
32720
+ -------------------------------------------------
32721
+ RemotePartial::ResourceManagerTest: test_get_page
32722
+ -------------------------------------------------
32723
+ ------------------------------------------------
32724
+ RemotePartial::ResourceManagerTest: test_get_raw
32725
+ ------------------------------------------------
32726
+ ----------------------------------------------------------
32727
+ RemotePartial::ResourceManagerTest: test_get_raw_with_http
32728
+ ----------------------------------------------------------
32729
+ ---------------------------------------------
32730
+ RemotePartial::ResourceManagerTest: test_html
32731
+ ---------------------------------------------
32732
+ --------------------------------------------------------
32733
+ RemotePartial::ResourceManagerTest: test_html_with_limit
32734
+ --------------------------------------------------------
32735
+ --------------------------------------------------------------------------------------
32736
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
32737
+ --------------------------------------------------------------------------------------
32738
+ -----------------------------------------------------------
32739
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
32740
+ -----------------------------------------------------------
32741
+ --------------------------------------------------
32742
+ RemotePartial::ResourceManagerTest: test_output_to
32743
+ --------------------------------------------------
32744
+ ---------------------------------------------
32745
+ RemotePartial::ResourceManagerTest: test_stub
32746
+ ---------------------------------------------
32747
+ --------------------------------------
32748
+ RemotePartial::YamlStoreTest: test_all
32749
+ --------------------------------------
32750
+ ----------------------------------------------------
32751
+ RemotePartial::YamlStoreTest: test_all_with_no_items
32752
+ ----------------------------------------------------
32753
+ ----------------------------------------
32754
+ RemotePartial::YamlStoreTest: test_count
32755
+ ----------------------------------------
32756
+ -----------------------------------------
32757
+ RemotePartial::YamlStoreTest: test_create
32758
+ -----------------------------------------
32759
+ ---------------------------------------------
32760
+ RemotePartial::YamlStoreTest: test_created_at
32761
+ ---------------------------------------------
32762
+ -------------------------------------------------------------------
32763
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
32764
+ -------------------------------------------------------------------
32765
+ ------------------------------------------
32766
+ RemotePartial::YamlStoreTest: test_db_path
32767
+ ------------------------------------------
32768
+ --------------------------------------
32769
+ RemotePartial::YamlStoreTest: test_dir
32770
+ --------------------------------------
32771
+ ---------------------------------------
32772
+ RemotePartial::YamlStoreTest: test_file
32773
+ ---------------------------------------
32774
+ ---------------------------------------
32775
+ RemotePartial::YamlStoreTest: test_find
32776
+ ---------------------------------------
32777
+ -------------------------------------------------------
32778
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
32779
+ -------------------------------------------------------
32780
+ ---------------------------------------------------
32781
+ RemotePartial::YamlStoreTest: test_find_with_symbol
32782
+ ---------------------------------------------------
32783
+ -----------------------------------------
32784
+ RemotePartial::YamlStoreTest: test_merge!
32785
+ -----------------------------------------
32786
+ --------------------------------------
32787
+ RemotePartial::YamlStoreTest: test_new
32788
+ --------------------------------------
32789
+ ---------------------------------------
32790
+ RemotePartial::YamlStoreTest: test_read
32791
+ ---------------------------------------
32792
+ -----------------------------------------------------------
32793
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
32794
+ -----------------------------------------------------------
32795
+ ---------------------------------------
32796
+ RemotePartial::YamlStoreTest: test_root
32797
+ ---------------------------------------
32798
+ ---------------------------------------
32799
+ RemotePartial::YamlStoreTest: test_save
32800
+ ---------------------------------------
32801
+ ------------------------------------------------------
32802
+ RemotePartial::YamlStoreTest: test_save_without_a_name
32803
+ ------------------------------------------------------
32804
+ ----------------------------------------------
32805
+ RemotePartial::YamlStoreTest: test_string_keys
32806
+ ----------------------------------------------
32807
+ ---------------------------------------------
32808
+ RemotePartial::YamlStoreTest: test_updated_at
32809
+ ---------------------------------------------
32810
+ ------------------------------------------------------------------
32811
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
32812
+ ------------------------------------------------------------------
32813
+ ----------------------------------------
32814
+ RemotePartial::YamlStoreTest: test_write
32815
+ ----------------------------------------
32816
+ ------------------------------
32817
+ RemotePartialTest: test_define
32818
+ ------------------------------
32819
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32820
+
32821
+ You can stub this request with the following snippet:
32822
+
32823
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
32824
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32825
+ to_return(:status => 200, :body => "", :headers => {})
32826
+
32827
+ ============================================================>
32828
+ -----------------------------------------------
32829
+ RemotePartialTest: test_define_with_string_keys
32830
+ -----------------------------------------------
32831
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32832
+
32833
+ You can stub this request with the following snippet:
32834
+
32835
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
32836
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32837
+ to_return(:status => 200, :body => "", :headers => {})
32838
+
32839
+ ============================================================>
32840
+ -----------------------------
32841
+ RemotePartialTest: test_truth
32842
+ -----------------------------
32843
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32844
+
32845
+ You can stub this request with the following snippet:
32846
+
32847
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
32848
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32849
+ to_return(:status => 200, :body => "", :headers => {})
32850
+
32851
+ ============================================================>
32852
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
32853
+
32854
+ You can stub this request with the following snippet:
32855
+
32856
+ stub_request(:get, "http://www.ruby-lang.org/en/").
32857
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
32858
+ to_return(:status => 200, :body => "", :headers => {})
32859
+
32860
+ ============================================================>
32861
+ -------------------------------
32862
+ DemosControllerTest: test_index
32863
+ -------------------------------
32864
+ Processing by DemosController#index as HTML
32865
+ Rendered demos/index.html.erb within layouts/application (24.5ms)
32866
+ Completed 200 OK in 53ms (Views: 52.8ms)
32867
+ ------------------------------------
32868
+ DemosControllerTest: test_show_fixed
32869
+ ------------------------------------
32870
+ Processing by DemosController#show as HTML
32871
+ Parameters: {"id"=>"fixed"}
32872
+ Rendered remote_partials/_fixed.html.erb (0.3ms)
32873
+ Rendered demos/_fixed.html.erb (2.3ms)
32874
+ Completed 200 OK in 10ms (Views: 9.4ms)
32875
+ -----------------------------------------------------------
32876
+ DemosHelperTest: test_render_remote_partial_with_no_partial
32877
+ -----------------------------------------------------------
32878
+ --------------------------------------
32879
+ RemotePartial::BuilderTest: test_build
32880
+ --------------------------------------
32881
+ ------------------------------------------------------------
32882
+ RemotePartial::BuilderTest: test_build_with_existing_partial
32883
+ ------------------------------------------------------------
32884
+ ------------------------------------------------------------------
32885
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
32886
+ ------------------------------------------------------------------
32887
+ ------------------------------------------------------
32888
+ RemotePartial::BuilderTest: test_build_with_http_error
32889
+ ------------------------------------------------------
32890
+ -------------------------------------------------------------
32891
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
32892
+ -------------------------------------------------------------
32893
+ ---------------------------------------------------------
32894
+ RemotePartial::BuilderTest: test_create_or_update_partial
32895
+ ---------------------------------------------------------
32896
+ -----------------------------------------------------------------------------------
32897
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
32898
+ -----------------------------------------------------------------------------------
32899
+ ----------------------------------------------------------------------------
32900
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
32901
+ ----------------------------------------------------------------------------
32902
+ ----------------------------------------------------------------
32903
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
32904
+ ----------------------------------------------------------------
32905
+ -------------------------------------------------
32906
+ RemotePartial::PartialTest: test_output_file_name
32907
+ -------------------------------------------------
32908
+ --------------------------------------------------------
32909
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
32910
+ --------------------------------------------------------
32911
+ --------------------------------------------------------
32912
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
32913
+ --------------------------------------------------------
32914
+ ------------------------------------------------------------------
32915
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
32916
+ ------------------------------------------------------------------
32917
+ --------------------------------------------------------
32918
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
32919
+ --------------------------------------------------------
32920
+ --------------------------------------------
32921
+ RemotePartial::PartialTest: test_update_file
32922
+ --------------------------------------------
32923
+ ------------------------------------------------------------------------
32924
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
32925
+ ------------------------------------------------------------------------
32926
+ -----------------------------------------------------------
32927
+ RemotePartial::PartialTest: test_update_file_with_https_url
32928
+ -----------------------------------------------------------
32929
+ -----------------------------------------------------------------
32930
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
32931
+ -----------------------------------------------------------------
32932
+ ------------------------------------------------
32933
+ RemotePartial::PartialTest: test_update_stale_at
32934
+ ------------------------------------------------
32935
+ --------------------------------------------------
32936
+ RemotePartial::PartialTest: test_update_stale_file
32937
+ --------------------------------------------------
32938
+ -----------------------------------------------------------------
32939
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
32940
+ -----------------------------------------------------------------
32941
+ -----------------------------------------------------------
32942
+ RemotePartial::ResourceManagerTest: test_connection_failure
32943
+ -----------------------------------------------------------
32944
+ ------------------------------------------------------------------------------
32945
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
32946
+ ------------------------------------------------------------------------------
32947
+ -------------------------------------------------
32948
+ RemotePartial::ResourceManagerTest: test_get_page
32949
+ -------------------------------------------------
32950
+ ------------------------------------------------
32951
+ RemotePartial::ResourceManagerTest: test_get_raw
32952
+ ------------------------------------------------
32953
+ ----------------------------------------------------------
32954
+ RemotePartial::ResourceManagerTest: test_get_raw_with_http
32955
+ ----------------------------------------------------------
32956
+ ---------------------------------------------
32957
+ RemotePartial::ResourceManagerTest: test_html
32958
+ ---------------------------------------------
32959
+ --------------------------------------------------------
32960
+ RemotePartial::ResourceManagerTest: test_html_with_limit
32961
+ --------------------------------------------------------
32962
+ --------------------------------------------------------------------------------------
32963
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
32964
+ --------------------------------------------------------------------------------------
32965
+ -----------------------------------------------------------
32966
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
32967
+ -----------------------------------------------------------
32968
+ --------------------------------------------------
32969
+ RemotePartial::ResourceManagerTest: test_output_to
32970
+ --------------------------------------------------
32971
+ ---------------------------------------------
32972
+ RemotePartial::ResourceManagerTest: test_stub
32973
+ ---------------------------------------------
32974
+ --------------------------------------
32975
+ RemotePartial::YamlStoreTest: test_all
32976
+ --------------------------------------
32977
+ ----------------------------------------------------
32978
+ RemotePartial::YamlStoreTest: test_all_with_no_items
32979
+ ----------------------------------------------------
32980
+ ----------------------------------------
32981
+ RemotePartial::YamlStoreTest: test_count
32982
+ ----------------------------------------
32983
+ -----------------------------------------
32984
+ RemotePartial::YamlStoreTest: test_create
32985
+ -----------------------------------------
32986
+ ---------------------------------------------
32987
+ RemotePartial::YamlStoreTest: test_created_at
32988
+ ---------------------------------------------
32989
+ -------------------------------------------------------------------
32990
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
32991
+ -------------------------------------------------------------------
32992
+ ------------------------------------------
32993
+ RemotePartial::YamlStoreTest: test_db_path
32994
+ ------------------------------------------
32995
+ --------------------------------------
32996
+ RemotePartial::YamlStoreTest: test_dir
32997
+ --------------------------------------
32998
+ ---------------------------------------
32999
+ RemotePartial::YamlStoreTest: test_file
33000
+ ---------------------------------------
33001
+ ---------------------------------------
33002
+ RemotePartial::YamlStoreTest: test_find
33003
+ ---------------------------------------
33004
+ -------------------------------------------------------
33005
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
33006
+ -------------------------------------------------------
33007
+ ---------------------------------------------------
33008
+ RemotePartial::YamlStoreTest: test_find_with_symbol
33009
+ ---------------------------------------------------
33010
+ -----------------------------------------
33011
+ RemotePartial::YamlStoreTest: test_merge!
33012
+ -----------------------------------------
33013
+ --------------------------------------
33014
+ RemotePartial::YamlStoreTest: test_new
33015
+ --------------------------------------
33016
+ ---------------------------------------
33017
+ RemotePartial::YamlStoreTest: test_read
33018
+ ---------------------------------------
33019
+ -----------------------------------------------------------
33020
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
33021
+ -----------------------------------------------------------
33022
+ ---------------------------------------
33023
+ RemotePartial::YamlStoreTest: test_root
33024
+ ---------------------------------------
33025
+ ---------------------------------------
33026
+ RemotePartial::YamlStoreTest: test_save
33027
+ ---------------------------------------
33028
+ ------------------------------------------------------
33029
+ RemotePartial::YamlStoreTest: test_save_without_a_name
33030
+ ------------------------------------------------------
33031
+ ----------------------------------------------
33032
+ RemotePartial::YamlStoreTest: test_string_keys
33033
+ ----------------------------------------------
33034
+ ---------------------------------------------
33035
+ RemotePartial::YamlStoreTest: test_updated_at
33036
+ ---------------------------------------------
33037
+ ------------------------------------------------------------------
33038
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
33039
+ ------------------------------------------------------------------
33040
+ ----------------------------------------
33041
+ RemotePartial::YamlStoreTest: test_write
33042
+ ----------------------------------------
33043
+ ------------------------------
33044
+ RemotePartialTest: test_define
33045
+ ------------------------------
33046
+ -----------------------------------------------
33047
+ RemotePartialTest: test_define_with_string_keys
33048
+ -----------------------------------------------
33049
+ -----------------------------
33050
+ RemotePartialTest: test_truth
33051
+ -----------------------------
33052
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<NoMethodError: undefined method `get_response' for RemotePartial::ResourceManager:Class>
33053
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<NoMethodError: undefined method `get_response' for RemotePartial::ResourceManager:Class>
33054
+ -------------------------------
33055
+ DemosControllerTest: test_index
33056
+ -------------------------------
33057
+ Processing by DemosController#index as HTML
33058
+ Rendered demos/index.html.erb within layouts/application (22.7ms)
33059
+ Completed 200 OK in 48ms (Views: 47.7ms)
33060
+ ------------------------------------
33061
+ DemosControllerTest: test_show_fixed
33062
+ ------------------------------------
33063
+ Processing by DemosController#show as HTML
33064
+ Parameters: {"id"=>"fixed"}
33065
+ Rendered remote_partials/_fixed.html.erb (0.5ms)
33066
+ Rendered demos/_fixed.html.erb (7.3ms)
33067
+ Completed 200 OK in 16ms (Views: 15.9ms)
33068
+ -----------------------------------------------------------
33069
+ DemosHelperTest: test_render_remote_partial_with_no_partial
33070
+ -----------------------------------------------------------
33071
+ --------------------------------------
33072
+ RemotePartial::BuilderTest: test_build
33073
+ --------------------------------------
33074
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<NoMethodError: undefined method `get_response' for RemotePartial::ResourceManager:Class>
33075
+ ------------------------------------------------------------
33076
+ RemotePartial::BuilderTest: test_build_with_existing_partial
33077
+ ------------------------------------------------------------
33078
+ ------------------------------------------------------------------
33079
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
33080
+ ------------------------------------------------------------------
33081
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<NoMethodError: undefined method `get_response' for RemotePartial::ResourceManager:Class>
33082
+ ------------------------------------------------------
33083
+ RemotePartial::BuilderTest: test_build_with_http_error
33084
+ ------------------------------------------------------
33085
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<NoMethodError: undefined method `get_response' for RemotePartial::ResourceManager:Class>
33086
+ -------------------------------------------------------------
33087
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
33088
+ -------------------------------------------------------------
33089
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<NoMethodError: undefined method `get_response' for RemotePartial::ResourceManager:Class>
33090
+ ---------------------------------------------------------
33091
+ RemotePartial::BuilderTest: test_create_or_update_partial
33092
+ ---------------------------------------------------------
33093
+ -----------------------------------------------------------------------------------
33094
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
33095
+ -----------------------------------------------------------------------------------
33096
+ ----------------------------------------------------------------------------
33097
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
33098
+ ----------------------------------------------------------------------------
33099
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<NoMethodError: undefined method `get_response' for RemotePartial::ResourceManager:Class>
33100
+ ----------------------------------------------------------------
33101
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
33102
+ ----------------------------------------------------------------
33103
+ -------------------------------------------------
33104
+ RemotePartial::PartialTest: test_output_file_name
33105
+ -------------------------------------------------
33106
+ --------------------------------------------------------
33107
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
33108
+ --------------------------------------------------------
33109
+ --------------------------------------------------------
33110
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
33111
+ --------------------------------------------------------
33112
+ ------------------------------------------------------------------
33113
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
33114
+ ------------------------------------------------------------------
33115
+ --------------------------------------------------------
33116
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
33117
+ --------------------------------------------------------
33118
+ --------------------------------------------
33119
+ RemotePartial::PartialTest: test_update_file
33120
+ --------------------------------------------
33121
+ ------------------------------------------------------------------------
33122
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
33123
+ ------------------------------------------------------------------------
33124
+ -----------------------------------------------------------
33125
+ RemotePartial::PartialTest: test_update_file_with_https_url
33126
+ -----------------------------------------------------------
33127
+ -----------------------------------------------------------------
33128
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
33129
+ -----------------------------------------------------------------
33130
+ ------------------------------------------------
33131
+ RemotePartial::PartialTest: test_update_stale_at
33132
+ ------------------------------------------------
33133
+ --------------------------------------------------
33134
+ RemotePartial::PartialTest: test_update_stale_file
33135
+ --------------------------------------------------
33136
+ -----------------------------------------------------------------
33137
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
33138
+ -----------------------------------------------------------------
33139
+ -----------------------------------------------------------
33140
+ RemotePartial::ResourceManagerTest: test_connection_failure
33141
+ -----------------------------------------------------------
33142
+ ------------------------------------------------------------------------------
33143
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
33144
+ ------------------------------------------------------------------------------
33145
+ -------------------------------------------------
33146
+ RemotePartial::ResourceManagerTest: test_get_page
33147
+ -------------------------------------------------
33148
+ ------------------------------------------------
33149
+ RemotePartial::ResourceManagerTest: test_get_raw
33150
+ ------------------------------------------------
33151
+ ----------------------------------------------------------
33152
+ RemotePartial::ResourceManagerTest: test_get_raw_with_http
33153
+ ----------------------------------------------------------
33154
+ ---------------------------------------------
33155
+ RemotePartial::ResourceManagerTest: test_html
33156
+ ---------------------------------------------
33157
+ --------------------------------------------------------
33158
+ RemotePartial::ResourceManagerTest: test_html_with_limit
33159
+ --------------------------------------------------------
33160
+ --------------------------------------------------------------------------------------
33161
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
33162
+ --------------------------------------------------------------------------------------
33163
+ -----------------------------------------------------------
33164
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
33165
+ -----------------------------------------------------------
33166
+ --------------------------------------------------
33167
+ RemotePartial::ResourceManagerTest: test_output_to
33168
+ --------------------------------------------------
33169
+ ---------------------------------------------
33170
+ RemotePartial::ResourceManagerTest: test_stub
33171
+ ---------------------------------------------
33172
+ --------------------------------------
33173
+ RemotePartial::YamlStoreTest: test_all
33174
+ --------------------------------------
33175
+ ----------------------------------------------------
33176
+ RemotePartial::YamlStoreTest: test_all_with_no_items
33177
+ ----------------------------------------------------
33178
+ ----------------------------------------
33179
+ RemotePartial::YamlStoreTest: test_count
33180
+ ----------------------------------------
33181
+ -----------------------------------------
33182
+ RemotePartial::YamlStoreTest: test_create
33183
+ -----------------------------------------
33184
+ ---------------------------------------------
33185
+ RemotePartial::YamlStoreTest: test_created_at
33186
+ ---------------------------------------------
33187
+ -------------------------------------------------------------------
33188
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
33189
+ -------------------------------------------------------------------
33190
+ ------------------------------------------
33191
+ RemotePartial::YamlStoreTest: test_db_path
33192
+ ------------------------------------------
33193
+ --------------------------------------
33194
+ RemotePartial::YamlStoreTest: test_dir
33195
+ --------------------------------------
33196
+ ---------------------------------------
33197
+ RemotePartial::YamlStoreTest: test_file
33198
+ ---------------------------------------
33199
+ ---------------------------------------
33200
+ RemotePartial::YamlStoreTest: test_find
33201
+ ---------------------------------------
33202
+ -------------------------------------------------------
33203
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
33204
+ -------------------------------------------------------
33205
+ ---------------------------------------------------
33206
+ RemotePartial::YamlStoreTest: test_find_with_symbol
33207
+ ---------------------------------------------------
33208
+ -----------------------------------------
33209
+ RemotePartial::YamlStoreTest: test_merge!
33210
+ -----------------------------------------
33211
+ --------------------------------------
33212
+ RemotePartial::YamlStoreTest: test_new
33213
+ --------------------------------------
33214
+ ---------------------------------------
33215
+ RemotePartial::YamlStoreTest: test_read
33216
+ ---------------------------------------
33217
+ -----------------------------------------------------------
33218
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
33219
+ -----------------------------------------------------------
33220
+ ---------------------------------------
33221
+ RemotePartial::YamlStoreTest: test_root
33222
+ ---------------------------------------
33223
+ ---------------------------------------
33224
+ RemotePartial::YamlStoreTest: test_save
33225
+ ---------------------------------------
33226
+ ------------------------------------------------------
33227
+ RemotePartial::YamlStoreTest: test_save_without_a_name
33228
+ ------------------------------------------------------
33229
+ ----------------------------------------------
33230
+ RemotePartial::YamlStoreTest: test_string_keys
33231
+ ----------------------------------------------
33232
+ ---------------------------------------------
33233
+ RemotePartial::YamlStoreTest: test_updated_at
33234
+ ---------------------------------------------
33235
+ ------------------------------------------------------------------
33236
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
33237
+ ------------------------------------------------------------------
33238
+ ----------------------------------------
33239
+ RemotePartial::YamlStoreTest: test_write
33240
+ ----------------------------------------
33241
+ ------------------------------
33242
+ RemotePartialTest: test_define
33243
+ ------------------------------
33244
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<NoMethodError: undefined method `get_response' for RemotePartial::ResourceManager:Class>
33245
+ -----------------------------------------------
33246
+ RemotePartialTest: test_define_with_string_keys
33247
+ -----------------------------------------------
33248
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<NoMethodError: undefined method `get_response' for RemotePartial::ResourceManager:Class>
33249
+ -----------------------------
33250
+ RemotePartialTest: test_truth
33251
+ -----------------------------
33252
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
33253
+
33254
+ You can stub this request with the following snippet:
33255
+
33256
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
33257
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
33258
+ to_return(:status => 200, :body => "", :headers => {})
33259
+
33260
+ ============================================================>
33261
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
33262
+
33263
+ You can stub this request with the following snippet:
33264
+
33265
+ stub_request(:get, "http://www.ruby-lang.org/en/").
33266
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
33267
+ to_return(:status => 200, :body => "", :headers => {})
33268
+
33269
+ ============================================================>
33270
+ -------------------------------
33271
+ DemosControllerTest: test_index
33272
+ -------------------------------
33273
+ Processing by DemosController#index as HTML
33274
+ Rendered demos/index.html.erb within layouts/application (21.4ms)
33275
+ Completed 200 OK in 38ms (Views: 37.2ms)
33276
+ ------------------------------------
33277
+ DemosControllerTest: test_show_fixed
33278
+ ------------------------------------
33279
+ Processing by DemosController#show as HTML
33280
+ Parameters: {"id"=>"fixed"}
33281
+ Rendered remote_partials/_fixed.html.erb (0.3ms)
33282
+ Rendered demos/_fixed.html.erb (2.2ms)
33283
+ Completed 200 OK in 9ms (Views: 8.5ms)
33284
+ -----------------------------------------------------------
33285
+ DemosHelperTest: test_render_remote_partial_with_no_partial
33286
+ -----------------------------------------------------------
33287
+ --------------------------------------
33288
+ RemotePartial::BuilderTest: test_build
33289
+ --------------------------------------
33290
+ ------------------------------------------------------------
33291
+ RemotePartial::BuilderTest: test_build_with_existing_partial
33292
+ ------------------------------------------------------------
33293
+ ------------------------------------------------------------------
33294
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
33295
+ ------------------------------------------------------------------
33296
+ ------------------------------------------------------
33297
+ RemotePartial::BuilderTest: test_build_with_http_error
33298
+ ------------------------------------------------------
33299
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
33300
+ -------------------------------------------------------------
33301
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
33302
+ -------------------------------------------------------------
33303
+ ---------------------------------------------------------
33304
+ RemotePartial::BuilderTest: test_create_or_update_partial
33305
+ ---------------------------------------------------------
33306
+ -----------------------------------------------------------------------------------
33307
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
33308
+ -----------------------------------------------------------------------------------
33309
+ ----------------------------------------------------------------------------
33310
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
33311
+ ----------------------------------------------------------------------------
33312
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
33313
+ ----------------------------------------------------------------
33314
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
33315
+ ----------------------------------------------------------------
33316
+ -------------------------------------------------
33317
+ RemotePartial::PartialTest: test_output_file_name
33318
+ -------------------------------------------------
33319
+ --------------------------------------------------------
33320
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
33321
+ --------------------------------------------------------
33322
+ --------------------------------------------------------
33323
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
33324
+ --------------------------------------------------------
33325
+ ------------------------------------------------------------------
33326
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
33327
+ ------------------------------------------------------------------
33328
+ --------------------------------------------------------
33329
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
33330
+ --------------------------------------------------------
33331
+ --------------------------------------------
33332
+ RemotePartial::PartialTest: test_update_file
33333
+ --------------------------------------------
33334
+ ------------------------------------------------------------------------
33335
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
33336
+ ------------------------------------------------------------------------
33337
+ -----------------------------------------------------------
33338
+ RemotePartial::PartialTest: test_update_file_with_https_url
33339
+ -----------------------------------------------------------
33340
+ -----------------------------------------------------------------
33341
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
33342
+ -----------------------------------------------------------------
33343
+ ------------------------------------------------
33344
+ RemotePartial::PartialTest: test_update_stale_at
33345
+ ------------------------------------------------
33346
+ --------------------------------------------------
33347
+ RemotePartial::PartialTest: test_update_stale_file
33348
+ --------------------------------------------------
33349
+ -----------------------------------------------------------------
33350
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
33351
+ -----------------------------------------------------------------
33352
+ -----------------------------------------------------------
33353
+ RemotePartial::ResourceManagerTest: test_connection_failure
33354
+ -----------------------------------------------------------
33355
+ ------------------------------------------------------------------------------
33356
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
33357
+ ------------------------------------------------------------------------------
33358
+ -------------------------------------------------
33359
+ RemotePartial::ResourceManagerTest: test_get_page
33360
+ -------------------------------------------------
33361
+ ------------------------------------------------
33362
+ RemotePartial::ResourceManagerTest: test_get_raw
33363
+ ------------------------------------------------
33364
+ ----------------------------------------------------------
33365
+ RemotePartial::ResourceManagerTest: test_get_raw_with_http
33366
+ ----------------------------------------------------------
33367
+ ---------------------------------------------
33368
+ RemotePartial::ResourceManagerTest: test_html
33369
+ ---------------------------------------------
33370
+ --------------------------------------------------------
33371
+ RemotePartial::ResourceManagerTest: test_html_with_limit
33372
+ --------------------------------------------------------
33373
+ --------------------------------------------------------------------------------------
33374
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
33375
+ --------------------------------------------------------------------------------------
33376
+ -----------------------------------------------------------
33377
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
33378
+ -----------------------------------------------------------
33379
+ --------------------------------------------------
33380
+ RemotePartial::ResourceManagerTest: test_output_to
33381
+ --------------------------------------------------
33382
+ ---------------------------------------------
33383
+ RemotePartial::ResourceManagerTest: test_stub
33384
+ ---------------------------------------------
33385
+ --------------------------------------
33386
+ RemotePartial::YamlStoreTest: test_all
33387
+ --------------------------------------
33388
+ ----------------------------------------------------
33389
+ RemotePartial::YamlStoreTest: test_all_with_no_items
33390
+ ----------------------------------------------------
33391
+ ----------------------------------------
33392
+ RemotePartial::YamlStoreTest: test_count
33393
+ ----------------------------------------
33394
+ -----------------------------------------
33395
+ RemotePartial::YamlStoreTest: test_create
33396
+ -----------------------------------------
33397
+ ---------------------------------------------
33398
+ RemotePartial::YamlStoreTest: test_created_at
33399
+ ---------------------------------------------
33400
+ -------------------------------------------------------------------
33401
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
33402
+ -------------------------------------------------------------------
33403
+ ------------------------------------------
33404
+ RemotePartial::YamlStoreTest: test_db_path
33405
+ ------------------------------------------
33406
+ --------------------------------------
33407
+ RemotePartial::YamlStoreTest: test_dir
33408
+ --------------------------------------
33409
+ ---------------------------------------
33410
+ RemotePartial::YamlStoreTest: test_file
33411
+ ---------------------------------------
33412
+ ---------------------------------------
33413
+ RemotePartial::YamlStoreTest: test_find
33414
+ ---------------------------------------
33415
+ -------------------------------------------------------
33416
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
33417
+ -------------------------------------------------------
33418
+ ---------------------------------------------------
33419
+ RemotePartial::YamlStoreTest: test_find_with_symbol
33420
+ ---------------------------------------------------
33421
+ -----------------------------------------
33422
+ RemotePartial::YamlStoreTest: test_merge!
33423
+ -----------------------------------------
33424
+ --------------------------------------
33425
+ RemotePartial::YamlStoreTest: test_new
33426
+ --------------------------------------
33427
+ ---------------------------------------
33428
+ RemotePartial::YamlStoreTest: test_read
33429
+ ---------------------------------------
33430
+ -----------------------------------------------------------
33431
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
33432
+ -----------------------------------------------------------
33433
+ ---------------------------------------
33434
+ RemotePartial::YamlStoreTest: test_root
33435
+ ---------------------------------------
33436
+ ---------------------------------------
33437
+ RemotePartial::YamlStoreTest: test_save
33438
+ ---------------------------------------
33439
+ ------------------------------------------------------
33440
+ RemotePartial::YamlStoreTest: test_save_without_a_name
33441
+ ------------------------------------------------------
33442
+ ----------------------------------------------
33443
+ RemotePartial::YamlStoreTest: test_string_keys
33444
+ ----------------------------------------------
33445
+ ---------------------------------------------
33446
+ RemotePartial::YamlStoreTest: test_updated_at
33447
+ ---------------------------------------------
33448
+ ------------------------------------------------------------------
33449
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
33450
+ ------------------------------------------------------------------
33451
+ ----------------------------------------
33452
+ RemotePartial::YamlStoreTest: test_write
33453
+ ----------------------------------------
33454
+ ------------------------------
33455
+ RemotePartialTest: test_define
33456
+ ------------------------------
33457
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
33458
+
33459
+ You can stub this request with the following snippet:
33460
+
33461
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
33462
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
33463
+ to_return(:status => 200, :body => "", :headers => {})
33464
+
33465
+ ============================================================>
33466
+ -----------------------------------------------
33467
+ RemotePartialTest: test_define_with_string_keys
33468
+ -----------------------------------------------
33469
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
33470
+
33471
+ You can stub this request with the following snippet:
33472
+
33473
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
33474
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
33475
+ to_return(:status => 200, :body => "", :headers => {})
33476
+
33477
+ ============================================================>
33478
+ -----------------------------
33479
+ RemotePartialTest: test_truth
33480
+ -----------------------------
33481
+ Unable to retrieve remote partial at http://www.timeanddate.com/worldclock/city.html?n=136: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.timeanddate.com/worldclock/city.html?n=136 with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
33482
+
33483
+ You can stub this request with the following snippet:
33484
+
33485
+ stub_request(:get, "http://www.timeanddate.com/worldclock/city.html?n=136").
33486
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
33487
+ to_return(:status => 200, :body => "", :headers => {})
33488
+
33489
+ ============================================================>
33490
+ Unable to retrieve remote partial at http://www.ruby-lang.org/en/: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.ruby-lang.org/en/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
33491
+
33492
+ You can stub this request with the following snippet:
33493
+
33494
+ stub_request(:get, "http://www.ruby-lang.org/en/").
33495
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
33496
+ to_return(:status => 200, :body => "", :headers => {})
33497
+
33498
+ ============================================================>
33499
+ -------------------------------
33500
+ DemosControllerTest: test_index
33501
+ -------------------------------
33502
+ Processing by DemosController#index as HTML
33503
+ Rendered demos/index.html.erb within layouts/application (24.1ms)
33504
+ Completed 200 OK in 48ms (Views: 47.3ms)
33505
+ ------------------------------------
33506
+ DemosControllerTest: test_show_fixed
33507
+ ------------------------------------
33508
+ Processing by DemosController#show as HTML
33509
+ Parameters: {"id"=>"fixed"}
33510
+ Rendered remote_partials/_fixed.html.erb (0.3ms)
33511
+ Rendered demos/_fixed.html.erb (2.1ms)
33512
+ Completed 200 OK in 9ms (Views: 9.1ms)
33513
+ -----------------------------------------------------------
33514
+ DemosHelperTest: test_render_remote_partial_with_no_partial
33515
+ -----------------------------------------------------------
33516
+ --------------------------------------
33517
+ RemotePartial::BuilderTest: test_build
33518
+ --------------------------------------
33519
+ ------------------------------------------------------------
33520
+ RemotePartial::BuilderTest: test_build_with_existing_partial
33521
+ ------------------------------------------------------------
33522
+ ------------------------------------------------------------------
33523
+ RemotePartial::BuilderTest: test_build_with_existing_stale_partial
33524
+ ------------------------------------------------------------------
33525
+ ------------------------------------------------------
33526
+ RemotePartial::BuilderTest: test_build_with_http_error
33527
+ ------------------------------------------------------
33528
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
33529
+ -------------------------------------------------------------
33530
+ RemotePartial::BuilderTest: test_builder_with_output_modifier
33531
+ -------------------------------------------------------------
33532
+ ---------------------------------------------------------
33533
+ RemotePartial::BuilderTest: test_create_or_update_partial
33534
+ ---------------------------------------------------------
33535
+ -----------------------------------------------------------------------------------
33536
+ RemotePartial::BuilderTest: test_create_or_update_partial_updates_if_partial_exists
33537
+ -----------------------------------------------------------------------------------
33538
+ ----------------------------------------------------------------------------
33539
+ RemotePartial::BuilderTest: test_stale_at_not_modified_if_unable_to_retrieve
33540
+ ----------------------------------------------------------------------------
33541
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<Net::HTTPBadRequest 400 readbody=true>
33542
+ ----------------------------------------------------------------
33543
+ RemotePartial::ExceptionTest: test_remote_partial_retrival_error
33544
+ ----------------------------------------------------------------
33545
+ -------------------------------------------------
33546
+ RemotePartial::PartialTest: test_output_file_name
33547
+ -------------------------------------------------
33548
+ --------------------------------------------------------
33549
+ RemotePartial::PartialTest: test_stale_at_gets_into_file
33550
+ --------------------------------------------------------
33551
+ --------------------------------------------------------
33552
+ RemotePartial::PartialTest: test_stale_at_gets_into_hash
33553
+ --------------------------------------------------------
33554
+ ------------------------------------------------------------------
33555
+ RemotePartial::PartialTest: test_stale_at_not_updated_unless_stale
33556
+ ------------------------------------------------------------------
33557
+ --------------------------------------------------------
33558
+ RemotePartial::PartialTest: test_stale_at_reset_if_stale
33559
+ --------------------------------------------------------
33560
+ --------------------------------------------
33561
+ RemotePartial::PartialTest: test_update_file
33562
+ --------------------------------------------
33563
+ ------------------------------------------------------------------------
33564
+ RemotePartial::PartialTest: test_update_file_not_affected_by_stale_state
33565
+ ------------------------------------------------------------------------
33566
+ -----------------------------------------------------------
33567
+ RemotePartial::PartialTest: test_update_file_with_https_url
33568
+ -----------------------------------------------------------
33569
+ -----------------------------------------------------------------
33570
+ RemotePartial::PartialTest: test_update_file_with_output_modifier
33571
+ -----------------------------------------------------------------
33572
+ ------------------------------------------------
33573
+ RemotePartial::PartialTest: test_update_stale_at
33574
+ ------------------------------------------------
33575
+ --------------------------------------------------
33576
+ RemotePartial::PartialTest: test_update_stale_file
33577
+ --------------------------------------------------
33578
+ -----------------------------------------------------------------
33579
+ RemotePartial::PartialTest: test_update_stale_file_when_not_stale
33580
+ -----------------------------------------------------------------
33581
+ -----------------------------------------------------------
33582
+ RemotePartial::ResourceManagerTest: test_connection_failure
33583
+ -----------------------------------------------------------
33584
+ ------------------------------------------------------------------------------
33585
+ RemotePartial::ResourceManagerTest: test_connection_failure_due_to_invalid_url
33586
+ ------------------------------------------------------------------------------
33587
+ -------------------------------------------------
33588
+ RemotePartial::ResourceManagerTest: test_get_page
33589
+ -------------------------------------------------
33590
+ ------------------------------------------------
33591
+ RemotePartial::ResourceManagerTest: test_get_raw
33592
+ ------------------------------------------------
33593
+ ----------------------------------------------------------
33594
+ RemotePartial::ResourceManagerTest: test_get_raw_with_http
33595
+ ----------------------------------------------------------
33596
+ ---------------------------------------------
33597
+ RemotePartial::ResourceManagerTest: test_html
33598
+ ---------------------------------------------
33599
+ --------------------------------------------------------
33600
+ RemotePartial::ResourceManagerTest: test_html_with_limit
33601
+ --------------------------------------------------------
33602
+ --------------------------------------------------------------------------------------
33603
+ RemotePartial::ResourceManagerTest: test_html_with_limit_that_returns_multiple_matches
33604
+ --------------------------------------------------------------------------------------
33605
+ -----------------------------------------------------------
33606
+ RemotePartial::ResourceManagerTest: test_html_with_proc_mod
33607
+ -----------------------------------------------------------
33608
+ --------------------------------------------------
33609
+ RemotePartial::ResourceManagerTest: test_output_to
33610
+ --------------------------------------------------
33611
+ ---------------------------------------------
33612
+ RemotePartial::ResourceManagerTest: test_stub
33613
+ ---------------------------------------------
33614
+ --------------------------------------
33615
+ RemotePartial::YamlStoreTest: test_all
33616
+ --------------------------------------
33617
+ ----------------------------------------------------
33618
+ RemotePartial::YamlStoreTest: test_all_with_no_items
33619
+ ----------------------------------------------------
33620
+ ----------------------------------------
33621
+ RemotePartial::YamlStoreTest: test_count
33622
+ ----------------------------------------
33623
+ -----------------------------------------
33624
+ RemotePartial::YamlStoreTest: test_create
33625
+ -----------------------------------------
33626
+ ---------------------------------------------
33627
+ RemotePartial::YamlStoreTest: test_created_at
33628
+ ---------------------------------------------
33629
+ -------------------------------------------------------------------
33630
+ RemotePartial::YamlStoreTest: test_created_at_not_updated_if_exists
33631
+ -------------------------------------------------------------------
33632
+ ------------------------------------------
33633
+ RemotePartial::YamlStoreTest: test_db_path
33634
+ ------------------------------------------
33635
+ --------------------------------------
33636
+ RemotePartial::YamlStoreTest: test_dir
33637
+ --------------------------------------
33638
+ ---------------------------------------
33639
+ RemotePartial::YamlStoreTest: test_file
33640
+ ---------------------------------------
33641
+ ---------------------------------------
33642
+ RemotePartial::YamlStoreTest: test_find
33643
+ ---------------------------------------
33644
+ -------------------------------------------------------
33645
+ RemotePartial::YamlStoreTest: test_find_when_none_exist
33646
+ -------------------------------------------------------
33647
+ ---------------------------------------------------
33648
+ RemotePartial::YamlStoreTest: test_find_with_symbol
33649
+ ---------------------------------------------------
33650
+ -----------------------------------------
33651
+ RemotePartial::YamlStoreTest: test_merge!
33652
+ -----------------------------------------
33653
+ --------------------------------------
33654
+ RemotePartial::YamlStoreTest: test_new
33655
+ --------------------------------------
33656
+ ---------------------------------------
33657
+ RemotePartial::YamlStoreTest: test_read
33658
+ ---------------------------------------
33659
+ -----------------------------------------------------------
33660
+ RemotePartial::YamlStoreTest: test_read_when_no_file_exists
33661
+ -----------------------------------------------------------
33662
+ ---------------------------------------
33663
+ RemotePartial::YamlStoreTest: test_root
33664
+ ---------------------------------------
33665
+ ---------------------------------------
33666
+ RemotePartial::YamlStoreTest: test_save
33667
+ ---------------------------------------
33668
+ ------------------------------------------------------
33669
+ RemotePartial::YamlStoreTest: test_save_without_a_name
33670
+ ------------------------------------------------------
33671
+ ----------------------------------------------
33672
+ RemotePartial::YamlStoreTest: test_string_keys
33673
+ ----------------------------------------------
33674
+ ---------------------------------------------
33675
+ RemotePartial::YamlStoreTest: test_updated_at
33676
+ ---------------------------------------------
33677
+ ------------------------------------------------------------------
33678
+ RemotePartial::YamlStoreTest: test_updated_at_if_updated_if_exists
33679
+ ------------------------------------------------------------------
33680
+ ----------------------------------------
33681
+ RemotePartial::YamlStoreTest: test_write
33682
+ ----------------------------------------
33683
+ ------------------------------
33684
+ RemotePartialTest: test_define
33685
+ ------------------------------
33686
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
33687
+
33688
+ You can stub this request with the following snippet:
33689
+
33690
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
33691
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
33692
+ to_return(:status => 200, :body => "", :headers => {})
33693
+
33694
+ ============================================================>
33695
+ -----------------------------------------------
33696
+ RemotePartialTest: test_define_with_string_keys
33697
+ -----------------------------------------------
33698
+ Unable to retrieve remote partial at http://www.warwickshire.gov.uk: #<WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.warwickshire.gov.uk/ with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}
33699
+
33700
+ You can stub this request with the following snippet:
33701
+
33702
+ stub_request(:get, "http://www.warwickshire.gov.uk/").
33703
+ with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
33704
+ to_return(:status => 200, :body => "", :headers => {})
33705
+
33706
+ ============================================================>
33707
+ -----------------------------
33708
+ RemotePartialTest: test_truth
33709
+ -----------------------------