simplificator_infrastructure 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simplificator_infrastructure.rb +2 -2
- data/lib/simplificator_infrastructure/error_summary.rb +8 -29
- data/lib/simplificator_infrastructure/locale_detection.rb +38 -0
- data/lib/simplificator_infrastructure/version.rb +1 -1
- data/test/dummy/log/development.log +130 -0
- data/test/dummy/log/test.log +1182 -0
- data/test/lib/simplificator_infrastructure/error_summary_test.rb +43 -41
- data/test/test_helper.rb +2 -0
- metadata +3 -4
- data/test/dummy/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bd4767b7c4c8e81fcca372471e5fc9f78aca731
|
4
|
+
data.tar.gz: 7fd8470edecbb4fb0b798e86dac4b4d652a26a78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54fef1367d17f37351f4eadaff3614575fad63006f17d02567e351ea8a0c2afead0d32800ca936b74d516024cf82e4de2e5f9df5ef295ee0c5fc45abbe252ea8
|
7
|
+
data.tar.gz: d8a01700bad908057ea48544d51dc2cb1027b4b7c5bb048395c0b37a929326a77e1e0dad31445f5ae26c15adeab2b6b9bc96cf7907f9ce1959ccf3655225a9f4
|
@@ -1,4 +1,5 @@
|
|
1
1
|
class SimplificatorInfrastructure::ErrorSummary
|
2
|
+
include SimplificatorInfrastructure::LocaleDetection
|
2
3
|
|
3
4
|
attr_reader :env
|
4
5
|
|
@@ -23,45 +24,23 @@ class SimplificatorInfrastructure::ErrorSummary
|
|
23
24
|
# tries to detect locale based on #available_locales
|
24
25
|
# and a locale which is in the path, in params (:locale), in the accept header or default
|
25
26
|
def locale
|
26
|
-
|
27
|
+
locale_from_path || locale_from_params || locale_from_header || locale_default
|
27
28
|
end
|
28
29
|
|
29
30
|
private
|
30
31
|
|
31
|
-
def
|
32
|
-
env
|
33
|
-
end
|
34
|
-
|
35
|
-
def default_locale
|
36
|
-
I18n.default_locale
|
32
|
+
def request
|
33
|
+
@request ||= Rack::Request.new(env)
|
37
34
|
end
|
38
35
|
|
39
|
-
def
|
40
|
-
|
41
|
-
nil_if_locale_is_unknown(locale)
|
36
|
+
def request_path
|
37
|
+
env['REQUEST_PATH']
|
42
38
|
end
|
43
39
|
|
44
|
-
def
|
40
|
+
def locale_from_path
|
45
41
|
match = request_path.try(:match, /\A\/([a-z]{2})\/.*\z/)
|
46
42
|
locale = match[1].try(:to_sym) if match
|
47
|
-
|
48
|
-
end
|
49
|
-
|
50
|
-
def available_locales
|
51
|
-
I18n.available_locales
|
52
|
-
end
|
53
|
-
|
54
|
-
# Gets the first two letter locale from HTTP_ACCEPT_LANGUAGE header
|
55
|
-
# (ignoring de_DE style locales and expecting locales to be ordered by quality)
|
56
|
-
def accept_locale
|
57
|
-
accept_header = env['HTTP_ACCEPT_LANGUAGE']
|
58
|
-
locale = accept_header.try(:scan, /[a-z]{2}/).try(:first).try(:to_sym)
|
59
|
-
nil_if_locale_is_unknown(locale)
|
60
|
-
end
|
61
|
-
|
62
|
-
|
63
|
-
def nil_if_locale_is_unknown(locale)
|
64
|
-
available_locales.include?(locale) ? locale : nil
|
43
|
+
available_locale_or_nil(locale)
|
65
44
|
end
|
66
45
|
|
67
46
|
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module SimplificatorInfrastructure::LocaleDetection
|
2
|
+
|
3
|
+
module InstanceMethods
|
4
|
+
|
5
|
+
private
|
6
|
+
|
7
|
+
def detect_locale
|
8
|
+
locale_from_params || locale_from_header || locale_default
|
9
|
+
end
|
10
|
+
|
11
|
+
def locale_from_params
|
12
|
+
locale = params['locale']
|
13
|
+
available_locale_or_nil(locale)
|
14
|
+
end
|
15
|
+
|
16
|
+
def locale_from_header
|
17
|
+
# Use "curl -H 'Accept-language: fr' localhost:3000" to test it.
|
18
|
+
|
19
|
+
header = request.env['HTTP_ACCEPT_LANGUAGE']
|
20
|
+
return if header.blank?
|
21
|
+
|
22
|
+
locale = header.scan(/^[a-z]{2}/).first
|
23
|
+
available_locale_or_nil(locale)
|
24
|
+
end
|
25
|
+
|
26
|
+
def locale_default
|
27
|
+
I18n.default_locale
|
28
|
+
end
|
29
|
+
|
30
|
+
def available_locale_or_nil(locale)
|
31
|
+
I18n.available_locales.map(&:to_s).include?(locale) ? locale.to_sym : nil
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.included(receiver)
|
36
|
+
receiver.send :include, InstanceMethods
|
37
|
+
end
|
38
|
+
end
|
@@ -3028,3 +3028,133 @@ Started GET "/assets/application-823e88bf1231c4323ee1d35731d8f1b6.css?body=1" fo
|
|
3028
3028
|
|
3029
3029
|
|
3030
3030
|
Started GET "/assets/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-22 14:58:32 +0100
|
3031
|
+
|
3032
|
+
|
3033
|
+
Started GET "/bla.pdf" for ::1 at 2015-01-23 09:16:11 +0100
|
3034
|
+
|
3035
|
+
ActionController::RoutingError (No route matches [GET] "/bla.pdf"):
|
3036
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
3037
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
3038
|
+
railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
|
3039
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
|
3040
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
3041
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
|
3042
|
+
activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
|
3043
|
+
railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
|
3044
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
3045
|
+
rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
|
3046
|
+
rack (1.6.0) lib/rack/runtime.rb:18:in `call'
|
3047
|
+
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
3048
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
3049
|
+
actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
|
3050
|
+
rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
|
3051
|
+
railties (4.2.0) lib/rails/engine.rb:518:in `call'
|
3052
|
+
railties (4.2.0) lib/rails/application.rb:164:in `call'
|
3053
|
+
rack (1.6.0) lib/rack/lock.rb:17:in `call'
|
3054
|
+
rack (1.6.0) lib/rack/content_length.rb:15:in `call'
|
3055
|
+
rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
|
3056
|
+
/Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
3057
|
+
/Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
3058
|
+
/Users/pascal/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
3059
|
+
|
3060
|
+
|
3061
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
3062
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (1.0ms)
|
3063
|
+
Completed 404 Not Found in 15ms (Views: 13.8ms)
|
3064
|
+
|
3065
|
+
|
3066
|
+
Started GET "/assets/simplificator_infrastructure/errors-928ba3bb41870ff2506534e889b5a343.css?body=1" for ::1 at 2015-01-23 09:16:11 +0100
|
3067
|
+
|
3068
|
+
|
3069
|
+
Started GET "/assets/simplificator_infrastructure/application-680fe1d8377d3b30ccc6040ff6efb0f6.css?body=1" for ::1 at 2015-01-23 09:16:11 +0100
|
3070
|
+
|
3071
|
+
|
3072
|
+
Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-23 09:16:11 +0100
|
3073
|
+
|
3074
|
+
|
3075
|
+
Started GET "/assets/simplificator_infrastructure/errors/error_404-1b456d7204a73d7e2b991d63e1bb0bb6.png" for ::1 at 2015-01-23 09:16:11 +0100
|
3076
|
+
|
3077
|
+
|
3078
|
+
Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-23 09:16:11 +0100
|
3079
|
+
|
3080
|
+
|
3081
|
+
Started GET "/" for ::1 at 2015-01-23 16:40:02 +0100
|
3082
|
+
Processing by ErrorPreviewsController#index as HTML
|
3083
|
+
Rendered error_previews/index.html.erb within layouts/application (0.1ms)
|
3084
|
+
Completed 200 OK in 17ms (Views: 16.6ms)
|
3085
|
+
|
3086
|
+
|
3087
|
+
Started GET "/assets/application-823e88bf1231c4323ee1d35731d8f1b6.css?body=1" for ::1 at 2015-01-23 16:40:02 +0100
|
3088
|
+
|
3089
|
+
|
3090
|
+
Started GET "/assets/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-23 16:40:02 +0100
|
3091
|
+
|
3092
|
+
|
3093
|
+
Started GET "/" for ::1 at 2015-01-27 08:41:14 +0100
|
3094
|
+
Processing by ErrorPreviewsController#index as HTML
|
3095
|
+
Rendered error_previews/index.html.erb within layouts/application (1.4ms)
|
3096
|
+
Completed 200 OK in 30ms (Views: 30.2ms)
|
3097
|
+
|
3098
|
+
|
3099
|
+
Started GET "/assets/application-823e88bf1231c4323ee1d35731d8f1b6.css?body=1" for ::1 at 2015-01-27 08:41:14 +0100
|
3100
|
+
|
3101
|
+
|
3102
|
+
Started GET "/assets/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-27 08:41:14 +0100
|
3103
|
+
|
3104
|
+
|
3105
|
+
Started GET "/error_previews/preview.pdf?code=404&locale=en" for ::1 at 2015-01-27 08:41:17 +0100
|
3106
|
+
Processing by ErrorPreviewsController#preview as PDF
|
3107
|
+
Parameters: {"code"=>"404", "locale"=>"en"}
|
3108
|
+
Completed 404 Not Found in 0ms
|
3109
|
+
|
3110
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
3111
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
3112
|
+
|
3113
|
+
|
3114
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
3115
|
+
Parameters: {"code"=>"404", "locale"=>"en"}
|
3116
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (5.1ms)
|
3117
|
+
Completed 404 Not Found in 34ms (Views: 26.8ms)
|
3118
|
+
|
3119
|
+
|
3120
|
+
Started GET "/assets/simplificator_infrastructure/errors-928ba3bb41870ff2506534e889b5a343.css?body=1" for ::1 at 2015-01-27 08:41:17 +0100
|
3121
|
+
|
3122
|
+
|
3123
|
+
Started GET "/assets/simplificator_infrastructure/application-680fe1d8377d3b30ccc6040ff6efb0f6.css?body=1" for ::1 at 2015-01-27 08:41:17 +0100
|
3124
|
+
|
3125
|
+
|
3126
|
+
Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-27 08:41:17 +0100
|
3127
|
+
|
3128
|
+
|
3129
|
+
Started GET "/assets/simplificator_infrastructure/errors/error_404-1b456d7204a73d7e2b991d63e1bb0bb6.png" for ::1 at 2015-01-27 08:41:17 +0100
|
3130
|
+
|
3131
|
+
|
3132
|
+
Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-27 08:41:17 +0100
|
3133
|
+
|
3134
|
+
|
3135
|
+
Started GET "/error_previews/preview.json?code=404&locale=en" for ::1 at 2015-01-27 08:41:24 +0100
|
3136
|
+
Processing by ErrorPreviewsController#preview as JSON
|
3137
|
+
Parameters: {"code"=>"404", "locale"=>"en"}
|
3138
|
+
Completed 404 Not Found in 0ms
|
3139
|
+
|
3140
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
3141
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
3142
|
+
|
3143
|
+
|
3144
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as JSON
|
3145
|
+
Parameters: {"code"=>"404", "locale"=>"en"}
|
3146
|
+
Completed 404 Not Found in 0ms (Views: 0.2ms)
|
3147
|
+
|
3148
|
+
|
3149
|
+
Started GET "/error_previews/preview.json?code=500&locale=en" for ::1 at 2015-01-27 08:41:28 +0100
|
3150
|
+
Processing by ErrorPreviewsController#preview as JSON
|
3151
|
+
Parameters: {"code"=>"500", "locale"=>"en"}
|
3152
|
+
Completed 500 Internal Server Error in 0ms
|
3153
|
+
|
3154
|
+
RuntimeError (some generic exception):
|
3155
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
3156
|
+
|
3157
|
+
|
3158
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as JSON
|
3159
|
+
Parameters: {"code"=>"500", "locale"=>"en"}
|
3160
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.1ms)
|
data/test/dummy/log/test.log
CHANGED
@@ -1567,3 +1567,1185 @@ Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
|
1567
1567
|
Parameters: {"code"=>"404"}
|
1568
1568
|
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.8ms)
|
1569
1569
|
Completed 404 Not Found in 2ms (Views: 1.3ms)
|
1570
|
+
-------------------------------------
|
1571
|
+
ErrorPreviewsControllerTest: test_404
|
1572
|
+
-------------------------------------
|
1573
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-04 10:39:20 +0100
|
1574
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1575
|
+
Parameters: {"code"=>"404"}
|
1576
|
+
Completed 404 Not Found in 0ms
|
1577
|
+
|
1578
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1579
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1580
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
1581
|
+
|
1582
|
+
|
1583
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1584
|
+
Parameters: {"code"=>"404"}
|
1585
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.4ms)
|
1586
|
+
Completed 404 Not Found in 20ms (Views: 15.2ms)
|
1587
|
+
---------------------------------------------------------------
|
1588
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
1589
|
+
---------------------------------------------------------------
|
1590
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-04 10:39:21 +0100
|
1591
|
+
Processing by ErrorPreviewsController#preview as PDF
|
1592
|
+
Parameters: {"code"=>"404"}
|
1593
|
+
Completed 404 Not Found in 0ms
|
1594
|
+
|
1595
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1596
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1597
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
1598
|
+
|
1599
|
+
|
1600
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
1601
|
+
Parameters: {"code"=>"404"}
|
1602
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (1.1ms)
|
1603
|
+
Completed 404 Not Found in 3ms (Views: 1.8ms)
|
1604
|
+
-------------------------------------
|
1605
|
+
ErrorPreviewsControllerTest: test_500
|
1606
|
+
-------------------------------------
|
1607
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-04 10:39:21 +0100
|
1608
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1609
|
+
Completed 500 Internal Server Error in 0ms
|
1610
|
+
|
1611
|
+
RuntimeError (some generic exception):
|
1612
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
1613
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
1614
|
+
|
1615
|
+
|
1616
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1617
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (1.7ms)
|
1618
|
+
Completed 500 Internal Server Error in 4ms (Views: 3.0ms)
|
1619
|
+
-----------------------------------------------------------------------------------------
|
1620
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
1621
|
+
-----------------------------------------------------------------------------------------
|
1622
|
+
-----------------------------------------------------------------------------------------------------------------
|
1623
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
1624
|
+
-----------------------------------------------------------------------------------------------------------------
|
1625
|
+
-------------------------------------------------------------------------------
|
1626
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
1627
|
+
-------------------------------------------------------------------------------
|
1628
|
+
----------------------------------------------------------------------
|
1629
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
1630
|
+
----------------------------------------------------------------------
|
1631
|
+
---------------------------------------------------------------------------------------
|
1632
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
1633
|
+
---------------------------------------------------------------------------------------
|
1634
|
+
----------------------------------------------------------------------------
|
1635
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
1636
|
+
----------------------------------------------------------------------------
|
1637
|
+
--------------------------------------------------------------------------------------------------------
|
1638
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
1639
|
+
--------------------------------------------------------------------------------------------------------
|
1640
|
+
-------------------------------------
|
1641
|
+
ErrorPreviewsControllerTest: test_404
|
1642
|
+
-------------------------------------
|
1643
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-04 10:39:36 +0100
|
1644
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1645
|
+
Parameters: {"code"=>"404"}
|
1646
|
+
Completed 404 Not Found in 0ms
|
1647
|
+
|
1648
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1649
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1650
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
1651
|
+
|
1652
|
+
|
1653
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1654
|
+
Parameters: {"code"=>"404"}
|
1655
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.9ms)
|
1656
|
+
Completed 404 Not Found in 21ms (Views: 16.1ms)
|
1657
|
+
---------------------------------------------------------------
|
1658
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
1659
|
+
---------------------------------------------------------------
|
1660
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-04 10:39:36 +0100
|
1661
|
+
Processing by ErrorPreviewsController#preview as PDF
|
1662
|
+
Parameters: {"code"=>"404"}
|
1663
|
+
Completed 404 Not Found in 0ms
|
1664
|
+
|
1665
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1666
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1667
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
1668
|
+
|
1669
|
+
|
1670
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
1671
|
+
Parameters: {"code"=>"404"}
|
1672
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.8ms)
|
1673
|
+
Completed 404 Not Found in 2ms (Views: 1.4ms)
|
1674
|
+
-------------------------------------
|
1675
|
+
ErrorPreviewsControllerTest: test_500
|
1676
|
+
-------------------------------------
|
1677
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-04 10:39:36 +0100
|
1678
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1679
|
+
Completed 500 Internal Server Error in 0ms
|
1680
|
+
|
1681
|
+
RuntimeError (some generic exception):
|
1682
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
1683
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
1684
|
+
|
1685
|
+
|
1686
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1687
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (1.5ms)
|
1688
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.5ms)
|
1689
|
+
----------------------------------------------------------------------------
|
1690
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
1691
|
+
----------------------------------------------------------------------------
|
1692
|
+
--------------------------------------------------------------------------------------------------------
|
1693
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
1694
|
+
--------------------------------------------------------------------------------------------------------
|
1695
|
+
-----------------------------------------------------------------------------------------
|
1696
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
1697
|
+
-----------------------------------------------------------------------------------------
|
1698
|
+
-----------------------------------------------------------------------------------------------------------------
|
1699
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
1700
|
+
-----------------------------------------------------------------------------------------------------------------
|
1701
|
+
---------------------------------------------------------------------------------------
|
1702
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
1703
|
+
---------------------------------------------------------------------------------------
|
1704
|
+
----------------------------------------------------------------------
|
1705
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
1706
|
+
----------------------------------------------------------------------
|
1707
|
+
-------------------------------------------------------------------------------
|
1708
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
1709
|
+
-------------------------------------------------------------------------------
|
1710
|
+
-------------------------------------
|
1711
|
+
ErrorPreviewsControllerTest: test_404
|
1712
|
+
-------------------------------------
|
1713
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 11:59:09 +0100
|
1714
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1715
|
+
Parameters: {"code"=>"404"}
|
1716
|
+
Completed 404 Not Found in 0ms
|
1717
|
+
|
1718
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1719
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1720
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
1721
|
+
|
1722
|
+
|
1723
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1724
|
+
Parameters: {"code"=>"404"}
|
1725
|
+
Completed 500 Internal Server Error in 1ms
|
1726
|
+
---------------------------------------------------------------
|
1727
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
1728
|
+
---------------------------------------------------------------
|
1729
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 11:59:09 +0100
|
1730
|
+
Processing by ErrorPreviewsController#preview as PDF
|
1731
|
+
Parameters: {"code"=>"404"}
|
1732
|
+
Completed 404 Not Found in 0ms
|
1733
|
+
|
1734
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1735
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1736
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
1737
|
+
|
1738
|
+
|
1739
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
1740
|
+
Parameters: {"code"=>"404"}
|
1741
|
+
Completed 500 Internal Server Error in 1ms
|
1742
|
+
-------------------------------------
|
1743
|
+
ErrorPreviewsControllerTest: test_500
|
1744
|
+
-------------------------------------
|
1745
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 11:59:09 +0100
|
1746
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1747
|
+
Completed 500 Internal Server Error in 0ms
|
1748
|
+
|
1749
|
+
RuntimeError (some generic exception):
|
1750
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
1751
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
1752
|
+
|
1753
|
+
|
1754
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1755
|
+
Completed 500 Internal Server Error in 1ms
|
1756
|
+
-----------------------------------------------------------------------------------------
|
1757
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
1758
|
+
-----------------------------------------------------------------------------------------
|
1759
|
+
-------------------------------------------------------------------------------
|
1760
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
1761
|
+
-------------------------------------------------------------------------------
|
1762
|
+
----------------------------------------------------------------------
|
1763
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
1764
|
+
----------------------------------------------------------------------
|
1765
|
+
----------------------------------------------------------------------------
|
1766
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
1767
|
+
----------------------------------------------------------------------------
|
1768
|
+
---------------------------------------------------------------------------------------
|
1769
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
1770
|
+
---------------------------------------------------------------------------------------
|
1771
|
+
-----------------------------------------------------------------------------------------------------------------
|
1772
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
1773
|
+
-----------------------------------------------------------------------------------------------------------------
|
1774
|
+
--------------------------------------------------------------------------------------------------------
|
1775
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
1776
|
+
--------------------------------------------------------------------------------------------------------
|
1777
|
+
-------------------------------------
|
1778
|
+
ErrorPreviewsControllerTest: test_404
|
1779
|
+
-------------------------------------
|
1780
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 11:59:36 +0100
|
1781
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1782
|
+
Parameters: {"code"=>"404"}
|
1783
|
+
Completed 404 Not Found in 0ms
|
1784
|
+
|
1785
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1786
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1787
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
1788
|
+
|
1789
|
+
|
1790
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1791
|
+
Parameters: {"code"=>"404"}
|
1792
|
+
Completed 500 Internal Server Error in 12ms
|
1793
|
+
-------------------------------------
|
1794
|
+
ErrorPreviewsControllerTest: test_500
|
1795
|
+
-------------------------------------
|
1796
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 11:59:36 +0100
|
1797
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1798
|
+
Completed 500 Internal Server Error in 0ms
|
1799
|
+
|
1800
|
+
RuntimeError (some generic exception):
|
1801
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
1802
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
1803
|
+
|
1804
|
+
|
1805
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1806
|
+
Completed 500 Internal Server Error in 1ms
|
1807
|
+
---------------------------------------------------------------
|
1808
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
1809
|
+
---------------------------------------------------------------
|
1810
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 11:59:36 +0100
|
1811
|
+
Processing by ErrorPreviewsController#preview as PDF
|
1812
|
+
Parameters: {"code"=>"404"}
|
1813
|
+
Completed 404 Not Found in 0ms
|
1814
|
+
|
1815
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1816
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1817
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
1818
|
+
|
1819
|
+
|
1820
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
1821
|
+
Parameters: {"code"=>"404"}
|
1822
|
+
Completed 500 Internal Server Error in 1ms
|
1823
|
+
-----------------------------------------------------------------------------------------------------------------
|
1824
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
1825
|
+
-----------------------------------------------------------------------------------------------------------------
|
1826
|
+
--------------------------------------------------------------------------------------------------------
|
1827
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
1828
|
+
--------------------------------------------------------------------------------------------------------
|
1829
|
+
----------------------------------------------------------------------------
|
1830
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
1831
|
+
----------------------------------------------------------------------------
|
1832
|
+
----------------------------------------------------------------------
|
1833
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
1834
|
+
----------------------------------------------------------------------
|
1835
|
+
---------------------------------------------------------------------------------------
|
1836
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
1837
|
+
---------------------------------------------------------------------------------------
|
1838
|
+
-------------------------------------------------------------------------------
|
1839
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
1840
|
+
-------------------------------------------------------------------------------
|
1841
|
+
-----------------------------------------------------------------------------------------
|
1842
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
1843
|
+
-----------------------------------------------------------------------------------------
|
1844
|
+
-----------------------------------------------------------------------------------------------------------------
|
1845
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
1846
|
+
-----------------------------------------------------------------------------------------------------------------
|
1847
|
+
---------------------------------------------------------------------------------------
|
1848
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
1849
|
+
---------------------------------------------------------------------------------------
|
1850
|
+
-----------------------------------------------------------------------------------------
|
1851
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
1852
|
+
-----------------------------------------------------------------------------------------
|
1853
|
+
----------------------------------------------------------------------------
|
1854
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
1855
|
+
----------------------------------------------------------------------------
|
1856
|
+
----------------------------------------------------------------------
|
1857
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
1858
|
+
----------------------------------------------------------------------
|
1859
|
+
--------------------------------------------------------------------------------------------------------
|
1860
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
1861
|
+
--------------------------------------------------------------------------------------------------------
|
1862
|
+
-------------------------------------------------------------------------------
|
1863
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
1864
|
+
-------------------------------------------------------------------------------
|
1865
|
+
---------------------------------------------------------------
|
1866
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
1867
|
+
---------------------------------------------------------------
|
1868
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:00:10 +0100
|
1869
|
+
Processing by ErrorPreviewsController#preview as PDF
|
1870
|
+
Parameters: {"code"=>"404"}
|
1871
|
+
Completed 404 Not Found in 0ms
|
1872
|
+
|
1873
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1874
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1875
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
1876
|
+
|
1877
|
+
|
1878
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
1879
|
+
Parameters: {"code"=>"404"}
|
1880
|
+
Completed 500 Internal Server Error in 1ms
|
1881
|
+
-------------------------------------
|
1882
|
+
ErrorPreviewsControllerTest: test_500
|
1883
|
+
-------------------------------------
|
1884
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:00:10 +0100
|
1885
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1886
|
+
Completed 500 Internal Server Error in 0ms
|
1887
|
+
|
1888
|
+
RuntimeError (some generic exception):
|
1889
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
1890
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
1891
|
+
|
1892
|
+
|
1893
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1894
|
+
Completed 500 Internal Server Error in 1ms
|
1895
|
+
-------------------------------------
|
1896
|
+
ErrorPreviewsControllerTest: test_404
|
1897
|
+
-------------------------------------
|
1898
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:00:10 +0100
|
1899
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1900
|
+
Parameters: {"code"=>"404"}
|
1901
|
+
Completed 404 Not Found in 0ms
|
1902
|
+
|
1903
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1904
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1905
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
1906
|
+
|
1907
|
+
|
1908
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1909
|
+
Parameters: {"code"=>"404"}
|
1910
|
+
Completed 500 Internal Server Error in 1ms
|
1911
|
+
-----------------------------------------------------------------------------------------------------------------
|
1912
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
1913
|
+
-----------------------------------------------------------------------------------------------------------------
|
1914
|
+
----------------------------------------------------------------------
|
1915
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
1916
|
+
----------------------------------------------------------------------
|
1917
|
+
---------------------------------------------------------------------------------------
|
1918
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
1919
|
+
---------------------------------------------------------------------------------------
|
1920
|
+
--------------------------------------------------------------------------------------------------------
|
1921
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
1922
|
+
--------------------------------------------------------------------------------------------------------
|
1923
|
+
-----------------------------------------------------------------------------------------
|
1924
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
1925
|
+
-----------------------------------------------------------------------------------------
|
1926
|
+
-------------------------------------------------------------------------------
|
1927
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
1928
|
+
-------------------------------------------------------------------------------
|
1929
|
+
----------------------------------------------------------------------------
|
1930
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
1931
|
+
----------------------------------------------------------------------------
|
1932
|
+
-------------------------------------
|
1933
|
+
ErrorPreviewsControllerTest: test_500
|
1934
|
+
-------------------------------------
|
1935
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:00:35 +0100
|
1936
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1937
|
+
Completed 500 Internal Server Error in 0ms
|
1938
|
+
|
1939
|
+
RuntimeError (some generic exception):
|
1940
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
1941
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
1942
|
+
|
1943
|
+
|
1944
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1945
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (8.1ms)
|
1946
|
+
Completed 500 Internal Server Error in 28ms (Views: 27.5ms)
|
1947
|
+
-------------------------------------
|
1948
|
+
ErrorPreviewsControllerTest: test_404
|
1949
|
+
-------------------------------------
|
1950
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:00:35 +0100
|
1951
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1952
|
+
Parameters: {"code"=>"404"}
|
1953
|
+
Completed 404 Not Found in 0ms
|
1954
|
+
|
1955
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1956
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1957
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
1958
|
+
|
1959
|
+
|
1960
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1961
|
+
Parameters: {"code"=>"404"}
|
1962
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (1.6ms)
|
1963
|
+
Completed 404 Not Found in 3ms (Views: 2.1ms)
|
1964
|
+
---------------------------------------------------------------
|
1965
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
1966
|
+
---------------------------------------------------------------
|
1967
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:00:35 +0100
|
1968
|
+
Processing by ErrorPreviewsController#preview as PDF
|
1969
|
+
Parameters: {"code"=>"404"}
|
1970
|
+
Completed 404 Not Found in 0ms
|
1971
|
+
|
1972
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1973
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1974
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
1975
|
+
|
1976
|
+
|
1977
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
1978
|
+
Parameters: {"code"=>"404"}
|
1979
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.7ms)
|
1980
|
+
Completed 404 Not Found in 2ms (Views: 1.2ms)
|
1981
|
+
---------------------------------------------------------------
|
1982
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
1983
|
+
---------------------------------------------------------------
|
1984
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:00:47 +0100
|
1985
|
+
Processing by ErrorPreviewsController#preview as PDF
|
1986
|
+
Parameters: {"code"=>"404"}
|
1987
|
+
Completed 404 Not Found in 0ms
|
1988
|
+
|
1989
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1990
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1991
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
1992
|
+
|
1993
|
+
|
1994
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
1995
|
+
Parameters: {"code"=>"404"}
|
1996
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.5ms)
|
1997
|
+
Completed 404 Not Found in 20ms (Views: 15.0ms)
|
1998
|
+
-------------------------------------
|
1999
|
+
ErrorPreviewsControllerTest: test_500
|
2000
|
+
-------------------------------------
|
2001
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:00:47 +0100
|
2002
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2003
|
+
Completed 500 Internal Server Error in 0ms
|
2004
|
+
|
2005
|
+
RuntimeError (some generic exception):
|
2006
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2007
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2008
|
+
|
2009
|
+
|
2010
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2011
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (1.7ms)
|
2012
|
+
Completed 500 Internal Server Error in 4ms (Views: 3.0ms)
|
2013
|
+
-------------------------------------
|
2014
|
+
ErrorPreviewsControllerTest: test_404
|
2015
|
+
-------------------------------------
|
2016
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:00:47 +0100
|
2017
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2018
|
+
Parameters: {"code"=>"404"}
|
2019
|
+
Completed 404 Not Found in 0ms
|
2020
|
+
|
2021
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2022
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2023
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2024
|
+
|
2025
|
+
|
2026
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2027
|
+
Parameters: {"code"=>"404"}
|
2028
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.8ms)
|
2029
|
+
Completed 404 Not Found in 2ms (Views: 1.5ms)
|
2030
|
+
--------------------------------------------------------------------------------------------------------
|
2031
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
2032
|
+
--------------------------------------------------------------------------------------------------------
|
2033
|
+
---------------------------------------------------------------------------------------
|
2034
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2035
|
+
---------------------------------------------------------------------------------------
|
2036
|
+
-----------------------------------------------------------------------------------------------------------------
|
2037
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
2038
|
+
-----------------------------------------------------------------------------------------------------------------
|
2039
|
+
----------------------------------------------------------------------------
|
2040
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
2041
|
+
----------------------------------------------------------------------------
|
2042
|
+
-----------------------------------------------------------------------------------------
|
2043
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
2044
|
+
-----------------------------------------------------------------------------------------
|
2045
|
+
-------------------------------------------------------------------------------
|
2046
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
2047
|
+
-------------------------------------------------------------------------------
|
2048
|
+
----------------------------------------------------------------------
|
2049
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
2050
|
+
----------------------------------------------------------------------
|
2051
|
+
---------------------------------------------------------------------------------------
|
2052
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2053
|
+
---------------------------------------------------------------------------------------
|
2054
|
+
-------------------------------------
|
2055
|
+
ErrorPreviewsControllerTest: test_404
|
2056
|
+
-------------------------------------
|
2057
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:03:07 +0100
|
2058
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2059
|
+
Parameters: {"code"=>"404"}
|
2060
|
+
Completed 404 Not Found in 0ms
|
2061
|
+
|
2062
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2063
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2064
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2065
|
+
|
2066
|
+
|
2067
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2068
|
+
Parameters: {"code"=>"404"}
|
2069
|
+
Completed 500 Internal Server Error in 1ms
|
2070
|
+
-------------------------------------
|
2071
|
+
ErrorPreviewsControllerTest: test_500
|
2072
|
+
-------------------------------------
|
2073
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:03:07 +0100
|
2074
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2075
|
+
Completed 500 Internal Server Error in 0ms
|
2076
|
+
|
2077
|
+
RuntimeError (some generic exception):
|
2078
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2079
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2080
|
+
|
2081
|
+
|
2082
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2083
|
+
Completed 500 Internal Server Error in 1ms
|
2084
|
+
---------------------------------------------------------------
|
2085
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
2086
|
+
---------------------------------------------------------------
|
2087
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:03:07 +0100
|
2088
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2089
|
+
Parameters: {"code"=>"404"}
|
2090
|
+
Completed 404 Not Found in 0ms
|
2091
|
+
|
2092
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2093
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2094
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
2095
|
+
|
2096
|
+
|
2097
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2098
|
+
Parameters: {"code"=>"404"}
|
2099
|
+
Completed 500 Internal Server Error in 1ms
|
2100
|
+
-------------------------------------
|
2101
|
+
ErrorPreviewsControllerTest: test_500
|
2102
|
+
-------------------------------------
|
2103
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:03:26 +0100
|
2104
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2105
|
+
Completed 500 Internal Server Error in 0ms
|
2106
|
+
|
2107
|
+
RuntimeError (some generic exception):
|
2108
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2109
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2110
|
+
|
2111
|
+
|
2112
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2113
|
+
Completed 500 Internal Server Error in 0ms
|
2114
|
+
-------------------------------------
|
2115
|
+
ErrorPreviewsControllerTest: test_404
|
2116
|
+
-------------------------------------
|
2117
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:03:26 +0100
|
2118
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2119
|
+
Parameters: {"code"=>"404"}
|
2120
|
+
Completed 404 Not Found in 0ms
|
2121
|
+
|
2122
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2123
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2124
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2125
|
+
|
2126
|
+
|
2127
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2128
|
+
Parameters: {"code"=>"404"}
|
2129
|
+
Completed 500 Internal Server Error in 0ms
|
2130
|
+
---------------------------------------------------------------
|
2131
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
2132
|
+
---------------------------------------------------------------
|
2133
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:03:26 +0100
|
2134
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2135
|
+
Parameters: {"code"=>"404"}
|
2136
|
+
Completed 404 Not Found in 0ms
|
2137
|
+
|
2138
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2139
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2140
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
2141
|
+
|
2142
|
+
|
2143
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2144
|
+
Parameters: {"code"=>"404"}
|
2145
|
+
Completed 500 Internal Server Error in 0ms
|
2146
|
+
---------------------------------------------------------------------------------------
|
2147
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2148
|
+
---------------------------------------------------------------------------------------
|
2149
|
+
-------------------------------------
|
2150
|
+
ErrorPreviewsControllerTest: test_404
|
2151
|
+
-------------------------------------
|
2152
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:03:46 +0100
|
2153
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2154
|
+
Parameters: {"code"=>"404"}
|
2155
|
+
Completed 404 Not Found in 0ms
|
2156
|
+
|
2157
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2158
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2159
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2160
|
+
|
2161
|
+
|
2162
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2163
|
+
Parameters: {"code"=>"404"}
|
2164
|
+
Completed 500 Internal Server Error in 0ms
|
2165
|
+
---------------------------------------------------------------
|
2166
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
2167
|
+
---------------------------------------------------------------
|
2168
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:03:46 +0100
|
2169
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2170
|
+
Parameters: {"code"=>"404"}
|
2171
|
+
Completed 404 Not Found in 0ms
|
2172
|
+
|
2173
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2174
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2175
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
2176
|
+
|
2177
|
+
|
2178
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2179
|
+
Parameters: {"code"=>"404"}
|
2180
|
+
Completed 500 Internal Server Error in 0ms
|
2181
|
+
-------------------------------------
|
2182
|
+
ErrorPreviewsControllerTest: test_500
|
2183
|
+
-------------------------------------
|
2184
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:03:46 +0100
|
2185
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2186
|
+
Completed 500 Internal Server Error in 0ms
|
2187
|
+
|
2188
|
+
RuntimeError (some generic exception):
|
2189
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2190
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2191
|
+
|
2192
|
+
|
2193
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2194
|
+
Completed 500 Internal Server Error in 0ms
|
2195
|
+
---------------------------------------------------------------------------------------
|
2196
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2197
|
+
---------------------------------------------------------------------------------------
|
2198
|
+
---------------------------------------------------------------------------------------
|
2199
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2200
|
+
---------------------------------------------------------------------------------------
|
2201
|
+
-------------------------------------
|
2202
|
+
ErrorPreviewsControllerTest: test_404
|
2203
|
+
-------------------------------------
|
2204
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:03:58 +0100
|
2205
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2206
|
+
Parameters: {"code"=>"404"}
|
2207
|
+
Completed 404 Not Found in 0ms
|
2208
|
+
|
2209
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2210
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2211
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2212
|
+
|
2213
|
+
|
2214
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2215
|
+
Parameters: {"code"=>"404"}
|
2216
|
+
Completed 500 Internal Server Error in 0ms
|
2217
|
+
-------------------------------------
|
2218
|
+
ErrorPreviewsControllerTest: test_500
|
2219
|
+
-------------------------------------
|
2220
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:03:58 +0100
|
2221
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2222
|
+
Completed 500 Internal Server Error in 0ms
|
2223
|
+
|
2224
|
+
RuntimeError (some generic exception):
|
2225
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2226
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2227
|
+
|
2228
|
+
|
2229
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2230
|
+
Completed 500 Internal Server Error in 0ms
|
2231
|
+
---------------------------------------------------------------
|
2232
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
2233
|
+
---------------------------------------------------------------
|
2234
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:03:58 +0100
|
2235
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2236
|
+
Parameters: {"code"=>"404"}
|
2237
|
+
Completed 404 Not Found in 0ms
|
2238
|
+
|
2239
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2240
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2241
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
2242
|
+
|
2243
|
+
|
2244
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2245
|
+
Parameters: {"code"=>"404"}
|
2246
|
+
Completed 500 Internal Server Error in 0ms
|
2247
|
+
-------------------------------------
|
2248
|
+
ErrorPreviewsControllerTest: test_500
|
2249
|
+
-------------------------------------
|
2250
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:04:12 +0100
|
2251
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2252
|
+
Completed 500 Internal Server Error in 0ms
|
2253
|
+
|
2254
|
+
RuntimeError (some generic exception):
|
2255
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2256
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2257
|
+
|
2258
|
+
|
2259
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2260
|
+
Completed 500 Internal Server Error in 0ms
|
2261
|
+
-------------------------------------
|
2262
|
+
ErrorPreviewsControllerTest: test_404
|
2263
|
+
-------------------------------------
|
2264
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:04:12 +0100
|
2265
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2266
|
+
Parameters: {"code"=>"404"}
|
2267
|
+
Completed 404 Not Found in 0ms
|
2268
|
+
|
2269
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2270
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2271
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2272
|
+
|
2273
|
+
|
2274
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2275
|
+
Parameters: {"code"=>"404"}
|
2276
|
+
Completed 500 Internal Server Error in 0ms
|
2277
|
+
---------------------------------------------------------------
|
2278
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
2279
|
+
---------------------------------------------------------------
|
2280
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:04:12 +0100
|
2281
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2282
|
+
Parameters: {"code"=>"404"}
|
2283
|
+
Completed 404 Not Found in 0ms
|
2284
|
+
|
2285
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2286
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2287
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
2288
|
+
|
2289
|
+
|
2290
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2291
|
+
Parameters: {"code"=>"404"}
|
2292
|
+
Completed 500 Internal Server Error in 0ms
|
2293
|
+
---------------------------------------------------------------------------------------
|
2294
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2295
|
+
---------------------------------------------------------------------------------------
|
2296
|
+
---------------------------------------------------------------------------------------
|
2297
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2298
|
+
---------------------------------------------------------------------------------------
|
2299
|
+
-------------------------------------
|
2300
|
+
ErrorPreviewsControllerTest: test_404
|
2301
|
+
-------------------------------------
|
2302
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:04:27 +0100
|
2303
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2304
|
+
Parameters: {"code"=>"404"}
|
2305
|
+
Completed 404 Not Found in 0ms
|
2306
|
+
|
2307
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2308
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2309
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2310
|
+
|
2311
|
+
|
2312
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2313
|
+
Parameters: {"code"=>"404"}
|
2314
|
+
Completed 500 Internal Server Error in 0ms
|
2315
|
+
---------------------------------------------------------------
|
2316
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
2317
|
+
---------------------------------------------------------------
|
2318
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:04:27 +0100
|
2319
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2320
|
+
Parameters: {"code"=>"404"}
|
2321
|
+
Completed 404 Not Found in 0ms
|
2322
|
+
|
2323
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2324
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2325
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
2326
|
+
|
2327
|
+
|
2328
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2329
|
+
Parameters: {"code"=>"404"}
|
2330
|
+
Completed 500 Internal Server Error in 0ms
|
2331
|
+
-------------------------------------
|
2332
|
+
ErrorPreviewsControllerTest: test_500
|
2333
|
+
-------------------------------------
|
2334
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:04:27 +0100
|
2335
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2336
|
+
Completed 500 Internal Server Error in 0ms
|
2337
|
+
|
2338
|
+
RuntimeError (some generic exception):
|
2339
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2340
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2341
|
+
|
2342
|
+
|
2343
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2344
|
+
Completed 500 Internal Server Error in 0ms
|
2345
|
+
-------------------------------------
|
2346
|
+
ErrorPreviewsControllerTest: test_404
|
2347
|
+
-------------------------------------
|
2348
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:04:36 +0100
|
2349
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2350
|
+
Parameters: {"code"=>"404"}
|
2351
|
+
Completed 404 Not Found in 0ms
|
2352
|
+
|
2353
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2354
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2355
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2356
|
+
|
2357
|
+
|
2358
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2359
|
+
Parameters: {"code"=>"404"}
|
2360
|
+
Completed 500 Internal Server Error in 4ms
|
2361
|
+
---------------------------------------------------------------
|
2362
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
2363
|
+
---------------------------------------------------------------
|
2364
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:04:36 +0100
|
2365
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2366
|
+
Parameters: {"code"=>"404"}
|
2367
|
+
Completed 404 Not Found in 0ms
|
2368
|
+
|
2369
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2370
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2371
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
2372
|
+
|
2373
|
+
|
2374
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2375
|
+
Parameters: {"code"=>"404"}
|
2376
|
+
Completed 500 Internal Server Error in 0ms
|
2377
|
+
-------------------------------------
|
2378
|
+
ErrorPreviewsControllerTest: test_500
|
2379
|
+
-------------------------------------
|
2380
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:04:36 +0100
|
2381
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2382
|
+
Completed 500 Internal Server Error in 0ms
|
2383
|
+
|
2384
|
+
RuntimeError (some generic exception):
|
2385
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2386
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2387
|
+
|
2388
|
+
|
2389
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2390
|
+
Completed 500 Internal Server Error in 0ms
|
2391
|
+
---------------------------------------------------------------------------------------
|
2392
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2393
|
+
---------------------------------------------------------------------------------------
|
2394
|
+
-------------------------------------
|
2395
|
+
ErrorPreviewsControllerTest: test_404
|
2396
|
+
-------------------------------------
|
2397
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:05:01 +0100
|
2398
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2399
|
+
Parameters: {"code"=>"404"}
|
2400
|
+
Completed 404 Not Found in 0ms
|
2401
|
+
|
2402
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2403
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2404
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2405
|
+
|
2406
|
+
|
2407
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2408
|
+
Parameters: {"code"=>"404"}
|
2409
|
+
Completed 500 Internal Server Error in 4ms
|
2410
|
+
-------------------------------------
|
2411
|
+
ErrorPreviewsControllerTest: test_500
|
2412
|
+
-------------------------------------
|
2413
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:05:01 +0100
|
2414
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2415
|
+
Completed 500 Internal Server Error in 0ms
|
2416
|
+
|
2417
|
+
RuntimeError (some generic exception):
|
2418
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2419
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2420
|
+
|
2421
|
+
|
2422
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2423
|
+
Completed 500 Internal Server Error in 0ms
|
2424
|
+
---------------------------------------------------------------
|
2425
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
2426
|
+
---------------------------------------------------------------
|
2427
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:05:01 +0100
|
2428
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2429
|
+
Parameters: {"code"=>"404"}
|
2430
|
+
Completed 404 Not Found in 0ms
|
2431
|
+
|
2432
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2433
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2434
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
2435
|
+
|
2436
|
+
|
2437
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2438
|
+
Parameters: {"code"=>"404"}
|
2439
|
+
Completed 500 Internal Server Error in 0ms
|
2440
|
+
---------------------------------------------------------------------------------------
|
2441
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2442
|
+
---------------------------------------------------------------------------------------
|
2443
|
+
---------------------------------------------------------------------------------------
|
2444
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2445
|
+
---------------------------------------------------------------------------------------
|
2446
|
+
-------------------------------------
|
2447
|
+
ErrorPreviewsControllerTest: test_404
|
2448
|
+
-------------------------------------
|
2449
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:05:17 +0100
|
2450
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2451
|
+
Parameters: {"code"=>"404"}
|
2452
|
+
Completed 404 Not Found in 0ms
|
2453
|
+
|
2454
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2455
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2456
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2457
|
+
|
2458
|
+
|
2459
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2460
|
+
Parameters: {"code"=>"404"}
|
2461
|
+
Completed 500 Internal Server Error in 0ms
|
2462
|
+
---------------------------------------------------------------
|
2463
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
2464
|
+
---------------------------------------------------------------
|
2465
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:05:17 +0100
|
2466
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2467
|
+
Parameters: {"code"=>"404"}
|
2468
|
+
Completed 404 Not Found in 0ms
|
2469
|
+
|
2470
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2471
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2472
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
2473
|
+
|
2474
|
+
|
2475
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2476
|
+
Parameters: {"code"=>"404"}
|
2477
|
+
Completed 500 Internal Server Error in 0ms
|
2478
|
+
-------------------------------------
|
2479
|
+
ErrorPreviewsControllerTest: test_500
|
2480
|
+
-------------------------------------
|
2481
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:05:17 +0100
|
2482
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2483
|
+
Completed 500 Internal Server Error in 0ms
|
2484
|
+
|
2485
|
+
RuntimeError (some generic exception):
|
2486
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2487
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2488
|
+
|
2489
|
+
|
2490
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2491
|
+
Completed 500 Internal Server Error in 0ms
|
2492
|
+
---------------------------------------------------------------------------------------
|
2493
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2494
|
+
---------------------------------------------------------------------------------------
|
2495
|
+
-------------------------------------
|
2496
|
+
ErrorPreviewsControllerTest: test_404
|
2497
|
+
-------------------------------------
|
2498
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:05:32 +0100
|
2499
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2500
|
+
Parameters: {"code"=>"404"}
|
2501
|
+
Completed 404 Not Found in 0ms
|
2502
|
+
|
2503
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2504
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2505
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2506
|
+
|
2507
|
+
|
2508
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2509
|
+
Parameters: {"code"=>"404"}
|
2510
|
+
Completed 500 Internal Server Error in 0ms
|
2511
|
+
-------------------------------------
|
2512
|
+
ErrorPreviewsControllerTest: test_500
|
2513
|
+
-------------------------------------
|
2514
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:05:32 +0100
|
2515
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2516
|
+
Completed 500 Internal Server Error in 0ms
|
2517
|
+
|
2518
|
+
RuntimeError (some generic exception):
|
2519
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2520
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2521
|
+
|
2522
|
+
|
2523
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2524
|
+
Completed 500 Internal Server Error in 0ms
|
2525
|
+
---------------------------------------------------------------
|
2526
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
2527
|
+
---------------------------------------------------------------
|
2528
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:05:32 +0100
|
2529
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2530
|
+
Parameters: {"code"=>"404"}
|
2531
|
+
Completed 404 Not Found in 0ms
|
2532
|
+
|
2533
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2534
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2535
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
2536
|
+
|
2537
|
+
|
2538
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2539
|
+
Parameters: {"code"=>"404"}
|
2540
|
+
Completed 500 Internal Server Error in 0ms
|
2541
|
+
---------------------------------------------------------------------------------------
|
2542
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2543
|
+
---------------------------------------------------------------------------------------
|
2544
|
+
-------------------------------------
|
2545
|
+
ErrorPreviewsControllerTest: test_500
|
2546
|
+
-------------------------------------
|
2547
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:05:49 +0100
|
2548
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2549
|
+
Completed 500 Internal Server Error in 0ms
|
2550
|
+
|
2551
|
+
RuntimeError (some generic exception):
|
2552
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2553
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2554
|
+
|
2555
|
+
|
2556
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2557
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (6.8ms)
|
2558
|
+
Completed 500 Internal Server Error in 19ms (Views: 18.0ms)
|
2559
|
+
-------------------------------------
|
2560
|
+
ErrorPreviewsControllerTest: test_404
|
2561
|
+
-------------------------------------
|
2562
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:05:49 +0100
|
2563
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2564
|
+
Parameters: {"code"=>"404"}
|
2565
|
+
Completed 404 Not Found in 0ms
|
2566
|
+
|
2567
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2568
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2569
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2570
|
+
|
2571
|
+
|
2572
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2573
|
+
Parameters: {"code"=>"404"}
|
2574
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (1.5ms)
|
2575
|
+
Completed 404 Not Found in 3ms (Views: 2.0ms)
|
2576
|
+
---------------------------------------------------------------
|
2577
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
2578
|
+
---------------------------------------------------------------
|
2579
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:05:49 +0100
|
2580
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2581
|
+
Parameters: {"code"=>"404"}
|
2582
|
+
Completed 404 Not Found in 0ms
|
2583
|
+
|
2584
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2585
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2586
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
2587
|
+
|
2588
|
+
|
2589
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2590
|
+
Parameters: {"code"=>"404"}
|
2591
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.7ms)
|
2592
|
+
Completed 404 Not Found in 2ms (Views: 1.3ms)
|
2593
|
+
---------------------------------------------------------------------------------------
|
2594
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2595
|
+
---------------------------------------------------------------------------------------
|
2596
|
+
---------------------------------------------------------------------------------------
|
2597
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2598
|
+
---------------------------------------------------------------------------------------
|
2599
|
+
---------------------------------------------------------------
|
2600
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
2601
|
+
---------------------------------------------------------------
|
2602
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:52:23 +0100
|
2603
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2604
|
+
Parameters: {"code"=>"404"}
|
2605
|
+
Completed 404 Not Found in 0ms
|
2606
|
+
|
2607
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2608
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2609
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
2610
|
+
|
2611
|
+
|
2612
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2613
|
+
Parameters: {"code"=>"404"}
|
2614
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (8.5ms)
|
2615
|
+
Completed 404 Not Found in 22ms (Views: 20.5ms)
|
2616
|
+
-------------------------------------
|
2617
|
+
ErrorPreviewsControllerTest: test_500
|
2618
|
+
-------------------------------------
|
2619
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:52:23 +0100
|
2620
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2621
|
+
Completed 500 Internal Server Error in 0ms
|
2622
|
+
|
2623
|
+
RuntimeError (some generic exception):
|
2624
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2625
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2626
|
+
|
2627
|
+
|
2628
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2629
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (1.9ms)
|
2630
|
+
Completed 500 Internal Server Error in 4ms (Views: 2.9ms)
|
2631
|
+
-------------------------------------
|
2632
|
+
ErrorPreviewsControllerTest: test_404
|
2633
|
+
-------------------------------------
|
2634
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:52:23 +0100
|
2635
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2636
|
+
Parameters: {"code"=>"404"}
|
2637
|
+
Completed 404 Not Found in 0ms
|
2638
|
+
|
2639
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2640
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2641
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2642
|
+
|
2643
|
+
|
2644
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2645
|
+
Parameters: {"code"=>"404"}
|
2646
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.7ms)
|
2647
|
+
Completed 404 Not Found in 2ms (Views: 1.2ms)
|
2648
|
+
---------------------------------------------------------------
|
2649
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
2650
|
+
---------------------------------------------------------------
|
2651
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:52:42 +0100
|
2652
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2653
|
+
Parameters: {"code"=>"404"}
|
2654
|
+
Completed 404 Not Found in 0ms
|
2655
|
+
|
2656
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2657
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2658
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
2659
|
+
|
2660
|
+
|
2661
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2662
|
+
Parameters: {"code"=>"404"}
|
2663
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.8ms)
|
2664
|
+
Completed 404 Not Found in 19ms (Views: 14.5ms)
|
2665
|
+
-------------------------------------
|
2666
|
+
ErrorPreviewsControllerTest: test_500
|
2667
|
+
-------------------------------------
|
2668
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:52:42 +0100
|
2669
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2670
|
+
Completed 500 Internal Server Error in 0ms
|
2671
|
+
|
2672
|
+
RuntimeError (some generic exception):
|
2673
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2674
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2675
|
+
|
2676
|
+
|
2677
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2678
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (1.6ms)
|
2679
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.7ms)
|
2680
|
+
-------------------------------------
|
2681
|
+
ErrorPreviewsControllerTest: test_404
|
2682
|
+
-------------------------------------
|
2683
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:52:42 +0100
|
2684
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2685
|
+
Parameters: {"code"=>"404"}
|
2686
|
+
Completed 404 Not Found in 0ms
|
2687
|
+
|
2688
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2689
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2690
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2691
|
+
|
2692
|
+
|
2693
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2694
|
+
Parameters: {"code"=>"404"}
|
2695
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.7ms)
|
2696
|
+
Completed 404 Not Found in 2ms (Views: 1.2ms)
|
2697
|
+
---------------------------------------------------------------------------------------
|
2698
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2699
|
+
---------------------------------------------------------------------------------------
|
2700
|
+
-------------------------------------
|
2701
|
+
ErrorPreviewsControllerTest: test_404
|
2702
|
+
-------------------------------------
|
2703
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-02-09 12:53:29 +0100
|
2704
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2705
|
+
Parameters: {"code"=>"404"}
|
2706
|
+
Completed 404 Not Found in 0ms
|
2707
|
+
|
2708
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2709
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2710
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
2711
|
+
|
2712
|
+
|
2713
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2714
|
+
Parameters: {"code"=>"404"}
|
2715
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.1ms)
|
2716
|
+
Completed 404 Not Found in 18ms (Views: 13.3ms)
|
2717
|
+
-------------------------------------
|
2718
|
+
ErrorPreviewsControllerTest: test_500
|
2719
|
+
-------------------------------------
|
2720
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-02-09 12:53:29 +0100
|
2721
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2722
|
+
Completed 500 Internal Server Error in 0ms
|
2723
|
+
|
2724
|
+
RuntimeError (some generic exception):
|
2725
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2726
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
2727
|
+
|
2728
|
+
|
2729
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2730
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (1.8ms)
|
2731
|
+
Completed 500 Internal Server Error in 4ms (Views: 2.9ms)
|
2732
|
+
---------------------------------------------------------------
|
2733
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
2734
|
+
---------------------------------------------------------------
|
2735
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-02-09 12:53:29 +0100
|
2736
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2737
|
+
Parameters: {"code"=>"404"}
|
2738
|
+
Completed 404 Not Found in 0ms
|
2739
|
+
|
2740
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2741
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2742
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
2743
|
+
|
2744
|
+
|
2745
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2746
|
+
Parameters: {"code"=>"404"}
|
2747
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.8ms)
|
2748
|
+
Completed 404 Not Found in 2ms (Views: 1.3ms)
|
2749
|
+
---------------------------------------------------------------------------------------
|
2750
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
2751
|
+
---------------------------------------------------------------------------------------
|