simplificator_infrastructure 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/simplificator_infrastructure/errors_controller.rb +10 -3
- data/lib/simplificator_infrastructure/version.rb +1 -1
- data/test/dummy/app/views/error_previews/index.html.erb +6 -2
- data/test/dummy/log/development.log +274 -0
- data/test/dummy/log/test.log +632 -0
- data/test/dummy/test/integration/error_previews_controller_test.rb +8 -1
- data/test/dummy/tmp/pids/server.pid +1 -0
- metadata +4 -4
- data/test/simplificator_infrastructure_test.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f037f4b1934381ef04b13882634a66eeb20ca06
|
4
|
+
data.tar.gz: 26b7079b21cc2ab07931e7b26f133d4cd8518574
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8042fb77719329c20c932943d142a619f52ad99f0605263c69b824776760966b28b0eee45ac156fb139b2f34cac30483f8a12e658cddf7fb2ebaa4884e722059
|
7
|
+
data.tar.gz: acf076d4a0cc168155dfdd4e2697ad3fb2ff266769aaee66fdbb7ca10011194a3d12be6d334b2642daa6f43fdef2c23a8a460072b0a11e468290997e6d972829
|
@@ -6,13 +6,20 @@ class SimplificatorInfrastructure::ErrorsController < ActionController::Base
|
|
6
6
|
|
7
7
|
|
8
8
|
def render_error
|
9
|
-
|
9
|
+
respond_to do |format|
|
10
|
+
format.any do
|
11
|
+
render template_for_status_code, status: error_summary.status_code, content_type: 'text/html'
|
12
|
+
end
|
13
|
+
format.json do
|
14
|
+
render json: {message: error_summary.exception.message}, status: error_summary.status_code
|
15
|
+
end
|
16
|
+
end
|
10
17
|
end
|
11
18
|
|
12
19
|
private
|
13
20
|
|
14
21
|
# Returns the template for the status code that is associated to the current error.
|
15
|
-
# INCLUDING 'html' as type to force rendering of
|
22
|
+
# INCLUDING 'html' as type to force rendering of the html view.
|
16
23
|
def template_for_status_code
|
17
24
|
if specific_error_template_exists?
|
18
25
|
specific_template
|
@@ -30,7 +37,7 @@ class SimplificatorInfrastructure::ErrorsController < ActionController::Base
|
|
30
37
|
end
|
31
38
|
|
32
39
|
def specific_error_template_exists?
|
33
|
-
lookup_context.template_exists?(error_summary.status_code, "errors", false)
|
40
|
+
lookup_context.template_exists?("#{error_summary.status_code}.html", "errors", false)
|
34
41
|
end
|
35
42
|
|
36
43
|
def error_summary
|
@@ -1,6 +1,10 @@
|
|
1
1
|
<h1>Welcome to Simplificator Infrastructure</a>
|
2
2
|
<h2>Error Pages</h2>
|
3
3
|
<ul>
|
4
|
-
<li>Generic in: <a href="/error_previews/preview?code=500&locale=en">en</a> | <a href="/error_previews/preview?code=500&locale=de">de</a> | <a href="/error_previews/preview?code=500&locale=fr">fr</a></li>
|
5
|
-
<li>404 in: <a href="/error_previews/preview?code=404&locale=en">en</a> | <a href="/error_previews/preview?code=404&locale=de">de</a> | <a href="/error_previews/preview?code=404&locale=fr">fr</a></li>
|
4
|
+
<li>HTML: Generic in: <a href="/error_previews/preview?code=500&locale=en">en</a> | <a href="/error_previews/preview?code=500&locale=de">de</a> | <a href="/error_previews/preview?code=500&locale=fr">fr</a></li>
|
5
|
+
<li>HTML: 404 in: <a href="/error_previews/preview?code=404&locale=en">en</a> | <a href="/error_previews/preview?code=404&locale=de">de</a> | <a href="/error_previews/preview?code=404&locale=fr">fr</a></li>
|
6
|
+
<li>PDF: Generic in: <a href="/error_previews/preview.pdf?code=500&locale=en">en</a> | <a href="/error_previews/preview.pdf?code=500&locale=de">de</a> | <a href="/error_previews/preview.pdf?code=500&locale=fr">fr</a></li>
|
7
|
+
<li>PDF: 404 in: <a href="/error_previews/preview.pdf?code=404&locale=en">en</a> | <a href="/error_previews/preview.pdf?code=404&locale=de">de</a> | <a href="/error_previews/preview.pdf?code=404&locale=fr">fr</a></li>
|
8
|
+
<li>JSON: Generic in: <a href="/error_previews/preview.json?code=500&locale=en">en</a> | <a href="/error_previews/preview.json?code=500&locale=de">de</a> | <a href="/error_previews/preview.json?code=500&locale=fr">fr</a></li>
|
9
|
+
<li>JSON: 404 in: <a href="/error_previews/preview.json?code=404&locale=en">en</a> | <a href="/error_previews/preview.json?code=404&locale=de">de</a> | <a href="/error_previews/preview.json?code=404&locale=fr">fr</a></li>
|
6
10
|
</ul>
|
@@ -2661,3 +2661,277 @@ Started GET "/assets/simplificator_infrastructure/errors/error_generic-a968490d6
|
|
2661
2661
|
|
2662
2662
|
|
2663
2663
|
Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-21 18:14:20 +0100
|
2664
|
+
|
2665
|
+
|
2666
|
+
Started GET "/error_previews/preview.json?code=500&locale=en" for ::1 at 2015-01-21 23:55:00 +0100
|
2667
|
+
Processing by ErrorPreviewsController#preview as JSON
|
2668
|
+
Parameters: {"code"=>"500", "locale"=>"en"}
|
2669
|
+
Completed 500 Internal Server Error in 0ms
|
2670
|
+
|
2671
|
+
RuntimeError (some generic exception):
|
2672
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2673
|
+
|
2674
|
+
|
2675
|
+
|
2676
|
+
|
2677
|
+
Started GET "/error_previews/preview.json?code=500&locale=en" for ::1 at 2015-01-21 23:55:25 +0100
|
2678
|
+
Processing by ErrorPreviewsController#preview as JSON
|
2679
|
+
Parameters: {"code"=>"500", "locale"=>"en"}
|
2680
|
+
Completed 500 Internal Server Error in 0ms
|
2681
|
+
|
2682
|
+
RuntimeError (some generic exception):
|
2683
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2684
|
+
|
2685
|
+
|
2686
|
+
|
2687
|
+
|
2688
|
+
Started GET "/error_previews/preview.json?code=500&locale=en" for ::1 at 2015-01-21 23:55:31 +0100
|
2689
|
+
Processing by ErrorPreviewsController#preview as JSON
|
2690
|
+
Parameters: {"code"=>"500", "locale"=>"en"}
|
2691
|
+
Completed 500 Internal Server Error in 0ms
|
2692
|
+
|
2693
|
+
RuntimeError (some generic exception):
|
2694
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2695
|
+
|
2696
|
+
|
2697
|
+
|
2698
|
+
|
2699
|
+
Started GET "/error_previews/preview.json?code=500&locale=en" for ::1 at 2015-01-21 23:56:11 +0100
|
2700
|
+
Processing by ErrorPreviewsController#preview as JSON
|
2701
|
+
Parameters: {"code"=>"500", "locale"=>"en"}
|
2702
|
+
Completed 500 Internal Server Error in 0ms
|
2703
|
+
|
2704
|
+
RuntimeError (some generic exception):
|
2705
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2706
|
+
|
2707
|
+
|
2708
|
+
|
2709
|
+
|
2710
|
+
Started GET "/error_previews/preview.json?code=500&locale=en" for ::1 at 2015-01-21 23:58:58 +0100
|
2711
|
+
Processing by ErrorPreviewsController#preview as JSON
|
2712
|
+
Parameters: {"code"=>"500", "locale"=>"en"}
|
2713
|
+
Completed 500 Internal Server Error in 0ms
|
2714
|
+
|
2715
|
+
RuntimeError (some generic exception):
|
2716
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2717
|
+
|
2718
|
+
|
2719
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as JSON
|
2720
|
+
Parameters: {"code"=>"500", "locale"=>"en"}
|
2721
|
+
Completed 500 Internal Server Error in 8ms (Views: 0.8ms)
|
2722
|
+
|
2723
|
+
|
2724
|
+
Started GET "/error_previews/preview.json?code=500&locale=en" for ::1 at 2015-01-21 23:59:10 +0100
|
2725
|
+
Processing by ErrorPreviewsController#preview as JSON
|
2726
|
+
Parameters: {"code"=>"500", "locale"=>"en"}
|
2727
|
+
Completed 500 Internal Server Error in 0ms
|
2728
|
+
|
2729
|
+
RuntimeError (some generic exception):
|
2730
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2731
|
+
|
2732
|
+
|
2733
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as JSON
|
2734
|
+
Parameters: {"code"=>"500", "locale"=>"en"}
|
2735
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.1ms)
|
2736
|
+
|
2737
|
+
|
2738
|
+
Started GET "/error_previews/preview.json?code=404&locale=en" for ::1 at 2015-01-21 23:59:14 +0100
|
2739
|
+
Processing by ErrorPreviewsController#preview as JSON
|
2740
|
+
Parameters: {"code"=>"404", "locale"=>"en"}
|
2741
|
+
Completed 404 Not Found in 0ms
|
2742
|
+
|
2743
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2744
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2745
|
+
|
2746
|
+
|
2747
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as JSON
|
2748
|
+
Parameters: {"code"=>"404", "locale"=>"en"}
|
2749
|
+
Completed 404 Not Found in 0ms (Views: 0.1ms)
|
2750
|
+
|
2751
|
+
|
2752
|
+
Started GET "/error_previews/preview?code=404&locale=en" for ::1 at 2015-01-22 09:05:34 +0100
|
2753
|
+
Processing by ErrorPreviewsController#preview as HTML
|
2754
|
+
Parameters: {"code"=>"404", "locale"=>"en"}
|
2755
|
+
Completed 404 Not Found in 2ms
|
2756
|
+
|
2757
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2758
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2759
|
+
|
2760
|
+
|
2761
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
2762
|
+
Parameters: {"code"=>"404", "locale"=>"en"}
|
2763
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (12.3ms)
|
2764
|
+
Completed 404 Not Found in 87ms (Views: 83.6ms)
|
2765
|
+
|
2766
|
+
|
2767
|
+
Started GET "/assets/simplificator_infrastructure/errors-928ba3bb41870ff2506534e889b5a343.css?body=1" for ::1 at 2015-01-22 09:05:34 +0100
|
2768
|
+
|
2769
|
+
|
2770
|
+
Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-22 09:05:34 +0100
|
2771
|
+
|
2772
|
+
|
2773
|
+
Started GET "/assets/simplificator_infrastructure/application-680fe1d8377d3b30ccc6040ff6efb0f6.css?body=1" for ::1 at 2015-01-22 09:05:34 +0100
|
2774
|
+
|
2775
|
+
|
2776
|
+
Started GET "/assets/simplificator_infrastructure/errors/error_404-1b456d7204a73d7e2b991d63e1bb0bb6.png" for ::1 at 2015-01-22 09:05:34 +0100
|
2777
|
+
|
2778
|
+
|
2779
|
+
Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-22 09:05:34 +0100
|
2780
|
+
|
2781
|
+
|
2782
|
+
Started GET "/error_previews/preview.pdf?code=404&locale=en" for ::1 at 2015-01-22 09:05:40 +0100
|
2783
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2784
|
+
Parameters: {"code"=>"404", "locale"=>"en"}
|
2785
|
+
Completed 404 Not Found in 0ms
|
2786
|
+
|
2787
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2788
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2789
|
+
|
2790
|
+
|
2791
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2792
|
+
Parameters: {"code"=>"404", "locale"=>"en"}
|
2793
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (4.2ms)
|
2794
|
+
Completed 404 Not Found in 17ms (Views: 15.8ms)
|
2795
|
+
|
2796
|
+
|
2797
|
+
Started GET "/assets/simplificator_infrastructure/errors-928ba3bb41870ff2506534e889b5a343.css?body=1" for ::1 at 2015-01-22 09:05:40 +0100
|
2798
|
+
|
2799
|
+
|
2800
|
+
Started GET "/assets/simplificator_infrastructure/application-680fe1d8377d3b30ccc6040ff6efb0f6.css?body=1" for ::1 at 2015-01-22 09:05:40 +0100
|
2801
|
+
|
2802
|
+
|
2803
|
+
Started GET "/assets/simplificator_infrastructure/errors/error_generic-a968490d61f954f36a76c8e28c134c0c.png" for ::1 at 2015-01-22 09:05:40 +0100
|
2804
|
+
|
2805
|
+
|
2806
|
+
Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-22 09:05:40 +0100
|
2807
|
+
|
2808
|
+
|
2809
|
+
Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-22 09:05:40 +0100
|
2810
|
+
|
2811
|
+
|
2812
|
+
Started GET "/error_previews/preview.pdf?code=404&locale=en" for ::1 at 2015-01-22 09:08:44 +0100
|
2813
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2814
|
+
Parameters: {"code"=>"404", "locale"=>"en"}
|
2815
|
+
Completed 404 Not Found in 1ms
|
2816
|
+
|
2817
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2818
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2819
|
+
|
2820
|
+
|
2821
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2822
|
+
Parameters: {"code"=>"404", "locale"=>"en"}
|
2823
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (0.9ms)
|
2824
|
+
Completed 404 Not Found in 16ms (Views: 14.7ms)
|
2825
|
+
|
2826
|
+
|
2827
|
+
Started GET "/assets/simplificator_infrastructure/errors-928ba3bb41870ff2506534e889b5a343.css?body=1" for ::1 at 2015-01-22 09:08:45 +0100
|
2828
|
+
|
2829
|
+
|
2830
|
+
Started GET "/assets/simplificator_infrastructure/application-680fe1d8377d3b30ccc6040ff6efb0f6.css?body=1" for ::1 at 2015-01-22 09:08:45 +0100
|
2831
|
+
|
2832
|
+
|
2833
|
+
Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-22 09:08:45 +0100
|
2834
|
+
|
2835
|
+
|
2836
|
+
Started GET "/assets/simplificator_infrastructure/errors/error_generic-a968490d61f954f36a76c8e28c134c0c.png" for ::1 at 2015-01-22 09:08:45 +0100
|
2837
|
+
|
2838
|
+
|
2839
|
+
Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-22 09:08:45 +0100
|
2840
|
+
|
2841
|
+
|
2842
|
+
Started GET "/error_previews/preview.pdf?code=404&locale=en" for ::1 at 2015-01-22 09:09:41 +0100
|
2843
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2844
|
+
Parameters: {"code"=>"404", "locale"=>"en"}
|
2845
|
+
Completed 404 Not Found in 0ms
|
2846
|
+
|
2847
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
2848
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
2849
|
+
|
2850
|
+
|
2851
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2852
|
+
Parameters: {"code"=>"404", "locale"=>"en"}
|
2853
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (1.3ms)
|
2854
|
+
Completed 404 Not Found in 15ms (Views: 14.4ms)
|
2855
|
+
|
2856
|
+
|
2857
|
+
Started GET "/assets/simplificator_infrastructure/errors-928ba3bb41870ff2506534e889b5a343.css?body=1" for ::1 at 2015-01-22 09:09:41 +0100
|
2858
|
+
|
2859
|
+
|
2860
|
+
Started GET "/assets/simplificator_infrastructure/application-680fe1d8377d3b30ccc6040ff6efb0f6.css?body=1" for ::1 at 2015-01-22 09:09:41 +0100
|
2861
|
+
|
2862
|
+
|
2863
|
+
Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-22 09:09:41 +0100
|
2864
|
+
|
2865
|
+
|
2866
|
+
Started GET "/assets/simplificator_infrastructure/errors/error_404-1b456d7204a73d7e2b991d63e1bb0bb6.png" for ::1 at 2015-01-22 09:09:41 +0100
|
2867
|
+
|
2868
|
+
|
2869
|
+
Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-22 09:09:41 +0100
|
2870
|
+
|
2871
|
+
|
2872
|
+
Started GET "/error_previews/preview.pdf?code=500&locale=en" for ::1 at 2015-01-22 09:09:46 +0100
|
2873
|
+
Processing by ErrorPreviewsController#preview as PDF
|
2874
|
+
Parameters: {"code"=>"500", "locale"=>"en"}
|
2875
|
+
Completed 500 Internal Server Error in 0ms
|
2876
|
+
|
2877
|
+
RuntimeError (some generic exception):
|
2878
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2879
|
+
|
2880
|
+
|
2881
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
2882
|
+
Parameters: {"code"=>"500", "locale"=>"en"}
|
2883
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (0.5ms)
|
2884
|
+
Completed 500 Internal Server Error in 12ms (Views: 11.7ms)
|
2885
|
+
|
2886
|
+
|
2887
|
+
Started GET "/assets/simplificator_infrastructure/errors-928ba3bb41870ff2506534e889b5a343.css?body=1" for ::1 at 2015-01-22 09:09:47 +0100
|
2888
|
+
|
2889
|
+
|
2890
|
+
Started GET "/assets/simplificator_infrastructure/application-680fe1d8377d3b30ccc6040ff6efb0f6.css?body=1" for ::1 at 2015-01-22 09:09:47 +0100
|
2891
|
+
|
2892
|
+
|
2893
|
+
Started GET "/assets/simplificator_infrastructure/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-22 09:09:47 +0100
|
2894
|
+
|
2895
|
+
|
2896
|
+
Started GET "/assets/simplificator_infrastructure/errors/error_generic-a968490d61f954f36a76c8e28c134c0c.png" for ::1 at 2015-01-22 09:09:47 +0100
|
2897
|
+
|
2898
|
+
|
2899
|
+
Started GET "/assets/simplificator_infrastructure/errors/logo-48573dc0d89ffec82bd936f919c7b96d.png" for ::1 at 2015-01-22 09:09:47 +0100
|
2900
|
+
|
2901
|
+
|
2902
|
+
Started GET "/" for ::1 at 2015-01-22 09:11:10 +0100
|
2903
|
+
Processing by ErrorPreviewsController#index as HTML
|
2904
|
+
Rendered error_previews/index.html.erb within layouts/application (0.3ms)
|
2905
|
+
Completed 200 OK in 19ms (Views: 18.5ms)
|
2906
|
+
|
2907
|
+
|
2908
|
+
Started GET "/assets/application-823e88bf1231c4323ee1d35731d8f1b6.css?body=1" for ::1 at 2015-01-22 09:11:10 +0100
|
2909
|
+
|
2910
|
+
|
2911
|
+
Started GET "/assets/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-22 09:11:10 +0100
|
2912
|
+
|
2913
|
+
|
2914
|
+
Started GET "/error_previews/preview.json?code=500&locale=fr" for ::1 at 2015-01-22 09:11:17 +0100
|
2915
|
+
Processing by ErrorPreviewsController#preview as JSON
|
2916
|
+
Parameters: {"code"=>"500", "locale"=>"fr"}
|
2917
|
+
Completed 500 Internal Server Error in 0ms
|
2918
|
+
|
2919
|
+
RuntimeError (some generic exception):
|
2920
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
2921
|
+
|
2922
|
+
|
2923
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as JSON
|
2924
|
+
Parameters: {"code"=>"500", "locale"=>"fr"}
|
2925
|
+
Completed 500 Internal Server Error in 0ms (Views: 0.2ms)
|
2926
|
+
|
2927
|
+
|
2928
|
+
Started GET "/" for ::1 at 2015-01-22 09:11:20 +0100
|
2929
|
+
Processing by ErrorPreviewsController#index as HTML
|
2930
|
+
Rendered error_previews/index.html.erb within layouts/application (0.0ms)
|
2931
|
+
Completed 200 OK in 9ms (Views: 9.0ms)
|
2932
|
+
|
2933
|
+
|
2934
|
+
Started GET "/assets/application-823e88bf1231c4323ee1d35731d8f1b6.css?body=1" for ::1 at 2015-01-22 09:11:20 +0100
|
2935
|
+
|
2936
|
+
|
2937
|
+
Started GET "/assets/application-6003a83c88a1f90ef300f4f20d8f3218.js?body=1" for ::1 at 2015-01-22 09:11:20 +0100
|
data/test/dummy/log/test.log
CHANGED
@@ -865,3 +865,635 @@ SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
|
865
865
|
-------------------------------------------------------------------------------
|
866
866
|
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
867
867
|
-------------------------------------------------------------------------------
|
868
|
+
-------------------------------------------
|
869
|
+
SimplificatorInfrastructureTest: test_truth
|
870
|
+
-------------------------------------------
|
871
|
+
-------------------------------------
|
872
|
+
ErrorPreviewsControllerTest: test_404
|
873
|
+
-------------------------------------
|
874
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-22 09:03:03 +0100
|
875
|
+
Processing by ErrorPreviewsController#preview as HTML
|
876
|
+
Parameters: {"code"=>"404"}
|
877
|
+
Completed 404 Not Found in 0ms
|
878
|
+
|
879
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
880
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
881
|
+
test/integration/error_previews_controller_test.rb:10:in `block in <class:ErrorPreviewsControllerTest>'
|
882
|
+
|
883
|
+
|
884
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
885
|
+
Parameters: {"code"=>"404"}
|
886
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (6.1ms)
|
887
|
+
Completed 404 Not Found in 31ms (Views: 22.3ms)
|
888
|
+
-------------------------------------
|
889
|
+
ErrorPreviewsControllerTest: test_500
|
890
|
+
-------------------------------------
|
891
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-22 09:03:03 +0100
|
892
|
+
Processing by ErrorPreviewsController#preview as HTML
|
893
|
+
Completed 500 Internal Server Error in 0ms
|
894
|
+
|
895
|
+
RuntimeError (some generic exception):
|
896
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
897
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
898
|
+
|
899
|
+
|
900
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
901
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (2.0ms)
|
902
|
+
Completed 500 Internal Server Error in 4ms (Views: 3.6ms)
|
903
|
+
-----------------------------------------------------------------------------------------------------------------
|
904
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
905
|
+
-----------------------------------------------------------------------------------------------------------------
|
906
|
+
---------------------------------------------------------------------------------------
|
907
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
908
|
+
---------------------------------------------------------------------------------------
|
909
|
+
----------------------------------------------------------------------
|
910
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
911
|
+
----------------------------------------------------------------------
|
912
|
+
--------------------------------------------------------------------------------------------------------
|
913
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
914
|
+
--------------------------------------------------------------------------------------------------------
|
915
|
+
-------------------------------------------------------------------------------
|
916
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
917
|
+
-------------------------------------------------------------------------------
|
918
|
+
----------------------------------------------------------------------------
|
919
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
920
|
+
----------------------------------------------------------------------------
|
921
|
+
-----------------------------------------------------------------------------------------
|
922
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
923
|
+
-----------------------------------------------------------------------------------------
|
924
|
+
-----------------------------------------------------------------------------------------
|
925
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
926
|
+
-----------------------------------------------------------------------------------------
|
927
|
+
----------------------------------------------------------------------
|
928
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
929
|
+
----------------------------------------------------------------------
|
930
|
+
----------------------------------------------------------------------------
|
931
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
932
|
+
----------------------------------------------------------------------------
|
933
|
+
---------------------------------------------------------------------------------------
|
934
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
935
|
+
---------------------------------------------------------------------------------------
|
936
|
+
-------------------------------------------------------------------------------
|
937
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
938
|
+
-------------------------------------------------------------------------------
|
939
|
+
-----------------------------------------------------------------------------------------------------------------
|
940
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
941
|
+
-----------------------------------------------------------------------------------------------------------------
|
942
|
+
--------------------------------------------------------------------------------------------------------
|
943
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
944
|
+
--------------------------------------------------------------------------------------------------------
|
945
|
+
-------------------------------------
|
946
|
+
ErrorPreviewsControllerTest: test_404
|
947
|
+
-------------------------------------
|
948
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-22 09:03:41 +0100
|
949
|
+
Processing by ErrorPreviewsController#preview as HTML
|
950
|
+
Parameters: {"code"=>"404"}
|
951
|
+
Completed 404 Not Found in 0ms
|
952
|
+
|
953
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
954
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
955
|
+
test/integration/error_previews_controller_test.rb:10:in `block in <class:ErrorPreviewsControllerTest>'
|
956
|
+
|
957
|
+
|
958
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
959
|
+
Parameters: {"code"=>"404"}
|
960
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (7.7ms)
|
961
|
+
Completed 404 Not Found in 24ms (Views: 22.4ms)
|
962
|
+
-------------------------------------
|
963
|
+
ErrorPreviewsControllerTest: test_500
|
964
|
+
-------------------------------------
|
965
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-22 09:03:41 +0100
|
966
|
+
Processing by ErrorPreviewsController#preview as HTML
|
967
|
+
Completed 500 Internal Server Error in 0ms
|
968
|
+
|
969
|
+
RuntimeError (some generic exception):
|
970
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
971
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
972
|
+
|
973
|
+
|
974
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
975
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (1.6ms)
|
976
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.7ms)
|
977
|
+
---------------------------------------------------------------------------------------
|
978
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
979
|
+
---------------------------------------------------------------------------------------
|
980
|
+
----------------------------------------------------------------------------
|
981
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
982
|
+
----------------------------------------------------------------------------
|
983
|
+
-------------------------------------------------------------------------------
|
984
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
985
|
+
-------------------------------------------------------------------------------
|
986
|
+
----------------------------------------------------------------------
|
987
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
988
|
+
----------------------------------------------------------------------
|
989
|
+
-----------------------------------------------------------------------------------------------------------------
|
990
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
991
|
+
-----------------------------------------------------------------------------------------------------------------
|
992
|
+
-----------------------------------------------------------------------------------------
|
993
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
994
|
+
-----------------------------------------------------------------------------------------
|
995
|
+
--------------------------------------------------------------------------------------------------------
|
996
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
997
|
+
--------------------------------------------------------------------------------------------------------
|
998
|
+
-------------------------------------
|
999
|
+
ErrorPreviewsControllerTest: test_404
|
1000
|
+
-------------------------------------
|
1001
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-22 09:04:11 +0100
|
1002
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1003
|
+
Parameters: {"code"=>"404"}
|
1004
|
+
Completed 404 Not Found in 0ms
|
1005
|
+
|
1006
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1007
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1008
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
1009
|
+
|
1010
|
+
|
1011
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1012
|
+
Parameters: {"code"=>"404"}
|
1013
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (8.3ms)
|
1014
|
+
Completed 404 Not Found in 22ms (Views: 20.6ms)
|
1015
|
+
-------------------------------------
|
1016
|
+
ErrorPreviewsControllerTest: test_500
|
1017
|
+
-------------------------------------
|
1018
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-22 09:04:11 +0100
|
1019
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1020
|
+
Completed 500 Internal Server Error in 0ms
|
1021
|
+
|
1022
|
+
RuntimeError (some generic exception):
|
1023
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
1024
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
1025
|
+
|
1026
|
+
|
1027
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1028
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (1.4ms)
|
1029
|
+
Completed 500 Internal Server Error in 3ms (Views: 2.5ms)
|
1030
|
+
-------------------------------------
|
1031
|
+
ErrorPreviewsControllerTest: test_404
|
1032
|
+
-------------------------------------
|
1033
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-22 09:04:25 +0100
|
1034
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1035
|
+
Parameters: {"code"=>"404"}
|
1036
|
+
Completed 404 Not Found in 0ms
|
1037
|
+
|
1038
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1039
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1040
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
1041
|
+
|
1042
|
+
|
1043
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1044
|
+
Parameters: {"code"=>"404"}
|
1045
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.1ms)
|
1046
|
+
Completed 404 Not Found in 19ms (Views: 14.1ms)
|
1047
|
+
-------------------------------------
|
1048
|
+
ErrorPreviewsControllerTest: test_500
|
1049
|
+
-------------------------------------
|
1050
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-22 09:04:25 +0100
|
1051
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1052
|
+
Completed 500 Internal Server Error in 0ms
|
1053
|
+
|
1054
|
+
RuntimeError (some generic exception):
|
1055
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
1056
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
1057
|
+
|
1058
|
+
|
1059
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1060
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (2.9ms)
|
1061
|
+
Completed 500 Internal Server Error in 6ms (Views: 5.0ms)
|
1062
|
+
----------------------------------------------------------------------------
|
1063
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
1064
|
+
----------------------------------------------------------------------------
|
1065
|
+
---------------------------------------------------------------------------------------
|
1066
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
1067
|
+
---------------------------------------------------------------------------------------
|
1068
|
+
-----------------------------------------------------------------------------------------
|
1069
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
1070
|
+
-----------------------------------------------------------------------------------------
|
1071
|
+
-----------------------------------------------------------------------------------------------------------------
|
1072
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
1073
|
+
-----------------------------------------------------------------------------------------------------------------
|
1074
|
+
-------------------------------------------------------------------------------
|
1075
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
1076
|
+
-------------------------------------------------------------------------------
|
1077
|
+
----------------------------------------------------------------------
|
1078
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
1079
|
+
----------------------------------------------------------------------
|
1080
|
+
--------------------------------------------------------------------------------------------------------
|
1081
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
1082
|
+
--------------------------------------------------------------------------------------------------------
|
1083
|
+
-------------------------------------
|
1084
|
+
ErrorPreviewsControllerTest: test_404
|
1085
|
+
-------------------------------------
|
1086
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-22 09:04:56 +0100
|
1087
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1088
|
+
Parameters: {"code"=>"404"}
|
1089
|
+
Completed 404 Not Found in 0ms
|
1090
|
+
|
1091
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1092
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1093
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
1094
|
+
|
1095
|
+
|
1096
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1097
|
+
Parameters: {"code"=>"404"}
|
1098
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.2ms)
|
1099
|
+
Completed 404 Not Found in 20ms (Views: 14.8ms)
|
1100
|
+
---------------------------------------------------------------
|
1101
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
1102
|
+
---------------------------------------------------------------
|
1103
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-01-22 09:04:56 +0100
|
1104
|
+
Processing by ErrorPreviewsController#preview as PDF
|
1105
|
+
Parameters: {"code"=>"404"}
|
1106
|
+
Completed 404 Not Found in 0ms
|
1107
|
+
|
1108
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1109
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1110
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
1111
|
+
|
1112
|
+
|
1113
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
1114
|
+
Parameters: {"code"=>"404"}
|
1115
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (1.9ms)
|
1116
|
+
Completed 404 Not Found in 4ms (Views: 3.3ms)
|
1117
|
+
-------------------------------------
|
1118
|
+
ErrorPreviewsControllerTest: test_500
|
1119
|
+
-------------------------------------
|
1120
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-22 09:04:56 +0100
|
1121
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1122
|
+
Completed 500 Internal Server Error in 0ms
|
1123
|
+
|
1124
|
+
RuntimeError (some generic exception):
|
1125
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
1126
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
1127
|
+
|
1128
|
+
|
1129
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1130
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (0.7ms)
|
1131
|
+
Completed 500 Internal Server Error in 2ms (Views: 1.8ms)
|
1132
|
+
-----------------------------------------------------------------------------------------
|
1133
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
1134
|
+
-----------------------------------------------------------------------------------------
|
1135
|
+
-----------------------------------------------------------------------------------------------------------------
|
1136
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
1137
|
+
-----------------------------------------------------------------------------------------------------------------
|
1138
|
+
--------------------------------------------------------------------------------------------------------
|
1139
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
1140
|
+
--------------------------------------------------------------------------------------------------------
|
1141
|
+
----------------------------------------------------------------------
|
1142
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
1143
|
+
----------------------------------------------------------------------
|
1144
|
+
----------------------------------------------------------------------------
|
1145
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
1146
|
+
----------------------------------------------------------------------------
|
1147
|
+
-------------------------------------------------------------------------------
|
1148
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
1149
|
+
-------------------------------------------------------------------------------
|
1150
|
+
---------------------------------------------------------------------------------------
|
1151
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
1152
|
+
---------------------------------------------------------------------------------------
|
1153
|
+
-----------------------------------------------------------------------------------------------------------------
|
1154
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
1155
|
+
-----------------------------------------------------------------------------------------------------------------
|
1156
|
+
----------------------------------------------------------------------
|
1157
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
1158
|
+
----------------------------------------------------------------------
|
1159
|
+
-------------------------------------------------------------------------------
|
1160
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
1161
|
+
-------------------------------------------------------------------------------
|
1162
|
+
---------------------------------------------------------------------------------------
|
1163
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
1164
|
+
---------------------------------------------------------------------------------------
|
1165
|
+
--------------------------------------------------------------------------------------------------------
|
1166
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
1167
|
+
--------------------------------------------------------------------------------------------------------
|
1168
|
+
-----------------------------------------------------------------------------------------
|
1169
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
1170
|
+
-----------------------------------------------------------------------------------------
|
1171
|
+
----------------------------------------------------------------------------
|
1172
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
1173
|
+
----------------------------------------------------------------------------
|
1174
|
+
-------------------------------------
|
1175
|
+
ErrorPreviewsControllerTest: test_500
|
1176
|
+
-------------------------------------
|
1177
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-22 09:05:21 +0100
|
1178
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1179
|
+
Completed 500 Internal Server Error in 0ms
|
1180
|
+
|
1181
|
+
RuntimeError (some generic exception):
|
1182
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
1183
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
1184
|
+
|
1185
|
+
|
1186
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1187
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (8.7ms)
|
1188
|
+
Completed 500 Internal Server Error in 24ms (Views: 23.4ms)
|
1189
|
+
-------------------------------------
|
1190
|
+
ErrorPreviewsControllerTest: test_404
|
1191
|
+
-------------------------------------
|
1192
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-22 09:05:21 +0100
|
1193
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1194
|
+
Parameters: {"code"=>"404"}
|
1195
|
+
Completed 404 Not Found in 0ms
|
1196
|
+
|
1197
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1198
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1199
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
1200
|
+
|
1201
|
+
|
1202
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1203
|
+
Parameters: {"code"=>"404"}
|
1204
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (1.7ms)
|
1205
|
+
Completed 404 Not Found in 4ms (Views: 2.8ms)
|
1206
|
+
---------------------------------------------------------------
|
1207
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
1208
|
+
---------------------------------------------------------------
|
1209
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-01-22 09:05:21 +0100
|
1210
|
+
Processing by ErrorPreviewsController#preview as PDF
|
1211
|
+
Parameters: {"code"=>"404"}
|
1212
|
+
Completed 404 Not Found in 0ms
|
1213
|
+
|
1214
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1215
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1216
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
1217
|
+
|
1218
|
+
|
1219
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
1220
|
+
Parameters: {"code"=>"404"}
|
1221
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (0.8ms)
|
1222
|
+
Completed 404 Not Found in 3ms (Views: 1.9ms)
|
1223
|
+
-----------------------------------------------------------------------------------------
|
1224
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
1225
|
+
-----------------------------------------------------------------------------------------
|
1226
|
+
--------------------------------------------------------------------------------------------------------
|
1227
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
1228
|
+
--------------------------------------------------------------------------------------------------------
|
1229
|
+
----------------------------------------------------------------------------
|
1230
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
1231
|
+
----------------------------------------------------------------------------
|
1232
|
+
-------------------------------------------------------------------------------
|
1233
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
1234
|
+
-------------------------------------------------------------------------------
|
1235
|
+
----------------------------------------------------------------------
|
1236
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
1237
|
+
----------------------------------------------------------------------
|
1238
|
+
---------------------------------------------------------------------------------------
|
1239
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
1240
|
+
---------------------------------------------------------------------------------------
|
1241
|
+
-----------------------------------------------------------------------------------------------------------------
|
1242
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
1243
|
+
-----------------------------------------------------------------------------------------------------------------
|
1244
|
+
---------------------------------------------------------------
|
1245
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
1246
|
+
---------------------------------------------------------------
|
1247
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-01-22 09:05:28 +0100
|
1248
|
+
Processing by ErrorPreviewsController#preview as PDF
|
1249
|
+
Parameters: {"code"=>"404"}
|
1250
|
+
Completed 404 Not Found in 0ms
|
1251
|
+
|
1252
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1253
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1254
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
1255
|
+
|
1256
|
+
|
1257
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
1258
|
+
Parameters: {"code"=>"404"}
|
1259
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (8.5ms)
|
1260
|
+
Completed 404 Not Found in 21ms (Views: 20.5ms)
|
1261
|
+
-------------------------------------
|
1262
|
+
ErrorPreviewsControllerTest: test_500
|
1263
|
+
-------------------------------------
|
1264
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-22 09:05:28 +0100
|
1265
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1266
|
+
Completed 500 Internal Server Error in 0ms
|
1267
|
+
|
1268
|
+
RuntimeError (some generic exception):
|
1269
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
1270
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
1271
|
+
|
1272
|
+
|
1273
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1274
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (0.7ms)
|
1275
|
+
Completed 500 Internal Server Error in 3ms (Views: 1.8ms)
|
1276
|
+
-------------------------------------
|
1277
|
+
ErrorPreviewsControllerTest: test_404
|
1278
|
+
-------------------------------------
|
1279
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-22 09:05:28 +0100
|
1280
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1281
|
+
Parameters: {"code"=>"404"}
|
1282
|
+
Completed 404 Not Found in 0ms
|
1283
|
+
|
1284
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1285
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1286
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
1287
|
+
|
1288
|
+
|
1289
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1290
|
+
Parameters: {"code"=>"404"}
|
1291
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (1.6ms)
|
1292
|
+
Completed 404 Not Found in 3ms (Views: 2.6ms)
|
1293
|
+
---------------------------------------------------------------
|
1294
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
1295
|
+
---------------------------------------------------------------
|
1296
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-01-22 09:07:44 +0100
|
1297
|
+
Processing by ErrorPreviewsController#preview as PDF
|
1298
|
+
Parameters: {"code"=>"404"}
|
1299
|
+
Completed 404 Not Found in 0ms
|
1300
|
+
|
1301
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1302
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1303
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
1304
|
+
|
1305
|
+
|
1306
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
1307
|
+
Parameters: {"code"=>"404"}
|
1308
|
+
Completed 500 Internal Server Error in 6ms
|
1309
|
+
-------------------------------------
|
1310
|
+
ErrorPreviewsControllerTest: test_500
|
1311
|
+
-------------------------------------
|
1312
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-22 09:07:44 +0100
|
1313
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1314
|
+
Completed 500 Internal Server Error in 0ms
|
1315
|
+
|
1316
|
+
RuntimeError (some generic exception):
|
1317
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
1318
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
1319
|
+
|
1320
|
+
|
1321
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1322
|
+
Completed 500 Internal Server Error in 2ms
|
1323
|
+
-------------------------------------
|
1324
|
+
ErrorPreviewsControllerTest: test_404
|
1325
|
+
-------------------------------------
|
1326
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-22 09:07:44 +0100
|
1327
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1328
|
+
Parameters: {"code"=>"404"}
|
1329
|
+
Completed 404 Not Found in 0ms
|
1330
|
+
|
1331
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1332
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1333
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
1334
|
+
|
1335
|
+
|
1336
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1337
|
+
Parameters: {"code"=>"404"}
|
1338
|
+
Completed 500 Internal Server Error in 2ms
|
1339
|
+
--------------------------------------------------------------------------------------------------------
|
1340
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
1341
|
+
--------------------------------------------------------------------------------------------------------
|
1342
|
+
----------------------------------------------------------------------------
|
1343
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
1344
|
+
----------------------------------------------------------------------------
|
1345
|
+
-------------------------------------------------------------------------------
|
1346
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
1347
|
+
-------------------------------------------------------------------------------
|
1348
|
+
---------------------------------------------------------------------------------------
|
1349
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
1350
|
+
---------------------------------------------------------------------------------------
|
1351
|
+
-----------------------------------------------------------------------------------------
|
1352
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
1353
|
+
-----------------------------------------------------------------------------------------
|
1354
|
+
----------------------------------------------------------------------
|
1355
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
1356
|
+
----------------------------------------------------------------------
|
1357
|
+
-----------------------------------------------------------------------------------------------------------------
|
1358
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
1359
|
+
-----------------------------------------------------------------------------------------------------------------
|
1360
|
+
-------------------------------------
|
1361
|
+
ErrorPreviewsControllerTest: test_500
|
1362
|
+
-------------------------------------
|
1363
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-22 09:12:35 +0100
|
1364
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1365
|
+
Completed 500 Internal Server Error in 0ms
|
1366
|
+
|
1367
|
+
RuntimeError (some generic exception):
|
1368
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
1369
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
1370
|
+
|
1371
|
+
|
1372
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1373
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (4.4ms)
|
1374
|
+
Completed 500 Internal Server Error in 23ms (Views: 17.4ms)
|
1375
|
+
-------------------------------------
|
1376
|
+
ErrorPreviewsControllerTest: test_404
|
1377
|
+
-------------------------------------
|
1378
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-22 09:12:35 +0100
|
1379
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1380
|
+
Parameters: {"code"=>"404"}
|
1381
|
+
Completed 404 Not Found in 0ms
|
1382
|
+
|
1383
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1384
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1385
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
1386
|
+
|
1387
|
+
|
1388
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1389
|
+
Parameters: {"code"=>"404"}
|
1390
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (1.6ms)
|
1391
|
+
Completed 404 Not Found in 3ms (Views: 2.1ms)
|
1392
|
+
---------------------------------------------------------------
|
1393
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
1394
|
+
---------------------------------------------------------------
|
1395
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-01-22 09:12:35 +0100
|
1396
|
+
Processing by ErrorPreviewsController#preview as PDF
|
1397
|
+
Parameters: {"code"=>"404"}
|
1398
|
+
Completed 404 Not Found in 0ms
|
1399
|
+
|
1400
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1401
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1402
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
1403
|
+
|
1404
|
+
|
1405
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
1406
|
+
Parameters: {"code"=>"404"}
|
1407
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.7ms)
|
1408
|
+
Completed 404 Not Found in 2ms (Views: 1.2ms)
|
1409
|
+
----------------------------------------------------------------------
|
1410
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
1411
|
+
----------------------------------------------------------------------
|
1412
|
+
----------------------------------------------------------------------------
|
1413
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
1414
|
+
----------------------------------------------------------------------------
|
1415
|
+
-----------------------------------------------------------------------------------------
|
1416
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
1417
|
+
-----------------------------------------------------------------------------------------
|
1418
|
+
---------------------------------------------------------------------------------------
|
1419
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
1420
|
+
---------------------------------------------------------------------------------------
|
1421
|
+
--------------------------------------------------------------------------------------------------------
|
1422
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
1423
|
+
--------------------------------------------------------------------------------------------------------
|
1424
|
+
-------------------------------------------------------------------------------
|
1425
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
1426
|
+
-------------------------------------------------------------------------------
|
1427
|
+
-----------------------------------------------------------------------------------------------------------------
|
1428
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
1429
|
+
-----------------------------------------------------------------------------------------------------------------
|
1430
|
+
-------------------------------------
|
1431
|
+
ErrorPreviewsControllerTest: test_404
|
1432
|
+
-------------------------------------
|
1433
|
+
Started GET "/error_previews/preview?code=404" for 127.0.0.1 at 2015-01-22 09:13:01 +0100
|
1434
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1435
|
+
Parameters: {"code"=>"404"}
|
1436
|
+
Completed 404 Not Found in 0ms
|
1437
|
+
|
1438
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1439
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1440
|
+
test/integration/error_previews_controller_test.rb:11:in `block in <class:ErrorPreviewsControllerTest>'
|
1441
|
+
|
1442
|
+
|
1443
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1444
|
+
Parameters: {"code"=>"404"}
|
1445
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (3.1ms)
|
1446
|
+
Completed 404 Not Found in 18ms (Views: 13.1ms)
|
1447
|
+
-------------------------------------
|
1448
|
+
ErrorPreviewsControllerTest: test_500
|
1449
|
+
-------------------------------------
|
1450
|
+
Started GET "/error_previews/preview" for 127.0.0.1 at 2015-01-22 09:13:01 +0100
|
1451
|
+
Processing by ErrorPreviewsController#preview as HTML
|
1452
|
+
Completed 500 Internal Server Error in 0ms
|
1453
|
+
|
1454
|
+
RuntimeError (some generic exception):
|
1455
|
+
app/controllers/error_previews_controller.rb:8:in `preview'
|
1456
|
+
test/integration/error_previews_controller_test.rb:5:in `block in <class:ErrorPreviewsControllerTest>'
|
1457
|
+
|
1458
|
+
|
1459
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as HTML
|
1460
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/generic_error.html.erb within layouts/simplificator_infrastructure/errors (2.5ms)
|
1461
|
+
Completed 500 Internal Server Error in 5ms (Views: 4.1ms)
|
1462
|
+
---------------------------------------------------------------
|
1463
|
+
ErrorPreviewsControllerTest: test_renders_html_for_pdf_requests
|
1464
|
+
---------------------------------------------------------------
|
1465
|
+
Started GET "/error_previews/preview.pdf?code=404" for 127.0.0.1 at 2015-01-22 09:13:01 +0100
|
1466
|
+
Processing by ErrorPreviewsController#preview as PDF
|
1467
|
+
Parameters: {"code"=>"404"}
|
1468
|
+
Completed 404 Not Found in 0ms
|
1469
|
+
|
1470
|
+
ActionController::RoutingError (Was asked to raise generate a 404):
|
1471
|
+
app/controllers/error_previews_controller.rb:9:in `preview'
|
1472
|
+
test/integration/error_previews_controller_test.rb:17:in `block in <class:ErrorPreviewsControllerTest>'
|
1473
|
+
|
1474
|
+
|
1475
|
+
Processing by SimplificatorInfrastructure::ErrorsController#render_error as PDF
|
1476
|
+
Parameters: {"code"=>"404"}
|
1477
|
+
Rendered /Users/pascal/repositories/simplificator/simplificator_infrastructure/app/views/errors/404.html.erb within layouts/simplificator_infrastructure/errors (0.8ms)
|
1478
|
+
Completed 404 Not Found in 2ms (Views: 1.5ms)
|
1479
|
+
-----------------------------------------------------------------------------------------
|
1480
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_determines_status_code_from_exception
|
1481
|
+
-----------------------------------------------------------------------------------------
|
1482
|
+
-------------------------------------------------------------------------------
|
1483
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_exception_from_env
|
1484
|
+
-------------------------------------------------------------------------------
|
1485
|
+
----------------------------------------------------------------------
|
1486
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_path
|
1487
|
+
----------------------------------------------------------------------
|
1488
|
+
----------------------------------------------------------------------------
|
1489
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_extracts_params_from_env
|
1490
|
+
----------------------------------------------------------------------------
|
1491
|
+
-----------------------------------------------------------------------------------------------------------------
|
1492
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_use_default_if_not_in_path_or_params_or_accept_header
|
1493
|
+
-----------------------------------------------------------------------------------------------------------------
|
1494
|
+
---------------------------------------------------------------------------------------
|
1495
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_params_if_not_in_path
|
1496
|
+
---------------------------------------------------------------------------------------
|
1497
|
+
--------------------------------------------------------------------------------------------------------
|
1498
|
+
SimplificatorInfrastructure::ErrorSummaryTest: test_locale:_check_accept_header_if_not_in_path_or_params
|
1499
|
+
--------------------------------------------------------------------------------------------------------
|
@@ -4,12 +4,19 @@ class ErrorPreviewsControllerTest < ActionDispatch::IntegrationTest
|
|
4
4
|
test '500' do
|
5
5
|
get '/error_previews/preview'
|
6
6
|
assert_response 500
|
7
|
+
assert_template 'errors/generic_error.html'
|
7
8
|
end
|
8
9
|
|
9
10
|
test '404' do
|
10
11
|
get '/error_previews/preview?code=404'
|
11
12
|
assert_response 404
|
12
|
-
assert_template 'errors/404'
|
13
|
+
assert_template 'errors/404.html'
|
14
|
+
end
|
15
|
+
|
16
|
+
test 'renders html for pdf requests' do
|
17
|
+
get '/error_previews/preview.pdf?code=404'
|
18
|
+
assert_response 404
|
19
|
+
assert_template 'errors/404.html'
|
13
20
|
end
|
14
21
|
|
15
22
|
|
@@ -0,0 +1 @@
|
|
1
|
+
91199
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplificator_infrastructure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pascal Betz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -133,9 +133,9 @@ files:
|
|
133
133
|
- test/dummy/tmp/cache/assets/test/sprockets/e303fbe4b122fbe771c62af737c0e1b5
|
134
134
|
- test/dummy/tmp/cache/assets/test/sprockets/e96855d0fc8137ba701522baf08faf33
|
135
135
|
- test/dummy/tmp/cache/assets/test/sprockets/f39692dced32f5d36d10caed783739ee
|
136
|
+
- test/dummy/tmp/pids/server.pid
|
136
137
|
- test/integration/navigation_test.rb
|
137
138
|
- test/lib/simplificator_infrastructure/error_summary_test.rb
|
138
|
-
- test/simplificator_infrastructure_test.rb
|
139
139
|
- test/test_helper.rb
|
140
140
|
homepage: http://www.simplificator.com
|
141
141
|
licenses:
|
@@ -234,7 +234,7 @@ test_files:
|
|
234
234
|
- test/dummy/tmp/cache/assets/test/sprockets/e303fbe4b122fbe771c62af737c0e1b5
|
235
235
|
- test/dummy/tmp/cache/assets/test/sprockets/e96855d0fc8137ba701522baf08faf33
|
236
236
|
- test/dummy/tmp/cache/assets/test/sprockets/f39692dced32f5d36d10caed783739ee
|
237
|
+
- test/dummy/tmp/pids/server.pid
|
237
238
|
- test/integration/navigation_test.rb
|
238
239
|
- test/lib/simplificator_infrastructure/error_summary_test.rb
|
239
|
-
- test/simplificator_infrastructure_test.rb
|
240
240
|
- test/test_helper.rb
|