cogy 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36769,3 +36769,3279 @@ Processing by Cogy::CogyController#command as HTML
36769
36769
  Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
36770
36770
  Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
36771
36771
  Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
36772
+ ----------------------------------------------------
36773
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
36774
+ ----------------------------------------------------
36775
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 16:36:39 +0200
36776
+ Processing by Cogy::CogyController#command as HTML
36777
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
36778
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.3ms)
36779
+ Completed 500 Internal Server Error in 9ms (Views: 9.2ms)
36780
+ ------------------------------------------------
36781
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
36782
+ ------------------------------------------------
36783
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36784
+ Processing by Cogy::CogyController#command as HTML
36785
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
36786
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
36787
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
36788
+ -----------------------------------------
36789
+ Cogy::CommandTest: test_rails_url_helpers
36790
+ -----------------------------------------
36791
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36792
+ Processing by Cogy::CogyController#command as HTML
36793
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
36794
+ Rendered text template (0.0ms)
36795
+ Completed 200 OK in 2ms (Views: 1.4ms)
36796
+ ---------------------------------
36797
+ Cogy::CommandTest: test_list_opts
36798
+ ---------------------------------
36799
+ Started POST "/cogy/cmd/test_ist_opts" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36800
+ Processing by Cogy::CogyController#command as HTML
36801
+ Parameters: {"COG_OPT_FLAVOR_0"=>"foo", "COG_OPT_FLAVOR_1"=>"baz", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_ist_opts"}
36802
+ Rendered text template (0.0ms)
36803
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
36804
+ -------------------------------------------------------------
36805
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
36806
+ -------------------------------------------------------------
36807
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36808
+ Processing by Cogy::CogyController#command as HTML
36809
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
36810
+ Rendered text template (0.0ms)
36811
+ Completed 200 OK in 0ms (Views: 0.2ms)
36812
+ ------------------------------------
36813
+ Cogy::CommandTest: test_calc_command
36814
+ ------------------------------------
36815
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36816
+ Processing by Cogy::CogyController#command as HTML
36817
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
36818
+ Rendered text template (0.0ms)
36819
+ Completed 200 OK in 0ms (Views: 0.2ms)
36820
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36821
+ Processing by Cogy::CogyController#command as HTML
36822
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
36823
+ Rendered text template (0.0ms)
36824
+ Completed 200 OK in 0ms (Views: 0.1ms)
36825
+ --------------------------------
36826
+ Cogy::CommandTest: test_cogy_env
36827
+ --------------------------------
36828
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36829
+ Processing by Cogy::CogyController#command as HTML
36830
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
36831
+ Rendered text template (0.0ms)
36832
+ Completed 200 OK in 0ms (Views: 0.2ms)
36833
+ ------------------------------------------------
36834
+ Cogy::CommandTest: test_invalid_opts_declaration
36835
+ ------------------------------------------------
36836
+ -----------------------------------------
36837
+ Cogy::CommandTest: test_command_not_found
36838
+ -----------------------------------------
36839
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36840
+ Processing by Cogy::CogyController#command as HTML
36841
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
36842
+ Rendered text template (0.0ms)
36843
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
36844
+ -------------------------------------------
36845
+ Cogy::CommandTest: test_error_response_code
36846
+ -------------------------------------------
36847
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36848
+ Processing by Cogy::CogyController#command as HTML
36849
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
36850
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
36851
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
36852
+ -------------------------------------
36853
+ Cogy::CommandTest: test_args_ordering
36854
+ -------------------------------------
36855
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36856
+ Processing by Cogy::CogyController#command as HTML
36857
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
36858
+ Rendered text template (0.0ms)
36859
+ Completed 200 OK in 0ms (Views: 0.2ms)
36860
+ --------------------------------------------
36861
+ Cogy::InventoryTest: test_cog_bundle_version
36862
+ --------------------------------------------
36863
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36864
+ Processing by Cogy::CogyController#inventory as HTML
36865
+ Rendered text template (0.0ms)
36866
+ Completed 200 OK in 3ms (Views: 0.2ms)
36867
+ ------------------------------------------
36868
+ Cogy::InventoryTest: test_commands_section
36869
+ ------------------------------------------
36870
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36871
+ Processing by Cogy::CogyController#inventory as HTML
36872
+ Rendered text template (0.0ms)
36873
+ Completed 200 OK in 3ms (Views: 0.3ms)
36874
+ ------------------------------------------
36875
+ Cogy::InventoryTest: test_without_commands
36876
+ ------------------------------------------
36877
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36878
+ Processing by Cogy::CogyController#inventory as HTML
36879
+ Rendered text template (0.0ms)
36880
+ Completed 200 OK in 1ms (Views: 0.3ms)
36881
+ --------------------------------------
36882
+ Cogy::InventoryTest: test_content_type
36883
+ --------------------------------------
36884
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36885
+ Processing by Cogy::CogyController#inventory as HTML
36886
+ Rendered text template (0.0ms)
36887
+ Completed 200 OK in 6ms (Views: 0.4ms)
36888
+ -----------------------------------------------
36889
+ Cogy::InventoryTest: test_bundle_version_lambda
36890
+ -----------------------------------------------
36891
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36892
+ Processing by Cogy::CogyController#inventory as HTML
36893
+ Rendered text template (0.0ms)
36894
+ Completed 200 OK in 3ms (Views: 0.2ms)
36895
+ ------------------------------------
36896
+ Cogy::InventoryTest: test_valid_yaml
36897
+ ------------------------------------
36898
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36899
+ Processing by Cogy::CogyController#inventory as HTML
36900
+ Rendered text template (0.0ms)
36901
+ Completed 200 OK in 3ms (Views: 0.2ms)
36902
+ ----------------------------------
36903
+ Cogy::InventoryTest: test_template
36904
+ ----------------------------------
36905
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36906
+ Processing by Cogy::CogyController#inventory as HTML
36907
+ Rendered text template (0.0ms)
36908
+ Completed 200 OK in 6ms (Views: 0.8ms)
36909
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36910
+ Processing by Cogy::CogyController#inventory as HTML
36911
+ Rendered text template (0.0ms)
36912
+ Completed 200 OK in 3ms (Views: 0.2ms)
36913
+ --------------------------------------------
36914
+ Cogy::JsonResponseTest: test_custom_template
36915
+ --------------------------------------------
36916
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36917
+ Processing by Cogy::CogyController#command as HTML
36918
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
36919
+ Rendered text template (0.0ms)
36920
+ Completed 200 OK in 0ms (Views: 0.2ms)
36921
+ -------------------------------------------------------------
36922
+ Cogy::JsonResponseTest: test_json_output_and_default_template
36923
+ -------------------------------------------------------------
36924
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36925
+ Processing by Cogy::CogyController#command as HTML
36926
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
36927
+ Rendered text template (0.0ms)
36928
+ Completed 200 OK in 1ms (Views: 0.2ms)
36929
+ ----------------------------------------------------
36930
+ Cogy::HelpersTest: test_custom_helper_with_arguments
36931
+ ----------------------------------------------------
36932
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36933
+ Processing by Cogy::CogyController#command as HTML
36934
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
36935
+ Rendered text template (0.0ms)
36936
+ Completed 200 OK in 0ms (Views: 0.2ms)
36937
+ -----------------------------------------------------------------
36938
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
36939
+ -----------------------------------------------------------------
36940
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36941
+ Processing by Cogy::CogyController#command as HTML
36942
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
36943
+ Rendered text template (0.0ms)
36944
+ Completed 200 OK in 0ms (Views: 0.2ms)
36945
+ -----------------------------------
36946
+ Cogy::BuiltinHelpersTest: test_args
36947
+ -----------------------------------
36948
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36949
+ Processing by Cogy::CogyController#command as HTML
36950
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
36951
+ Rendered text template (0.0ms)
36952
+ Completed 200 OK in 0ms (Views: 0.2ms)
36953
+ -----------------------------------------------------------------------
36954
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
36955
+ -----------------------------------------------------------------------
36956
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36957
+ Processing by Cogy::CogyController#command as HTML
36958
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
36959
+ Rendered text template (0.0ms)
36960
+ Completed 200 OK in 0ms (Views: 0.2ms)
36961
+ --------------------------------------------------------
36962
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
36963
+ --------------------------------------------------------
36964
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-06 16:36:40 +0200
36965
+ Processing by Cogy::CogyController#command as HTML
36966
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
36967
+ Rendered text template (0.0ms)
36968
+ Completed 200 OK in 0ms (Views: 0.2ms)
36969
+ ------------------------------------------------
36970
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
36971
+ ------------------------------------------------
36972
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
36973
+ Processing by Cogy::CogyController#command as HTML
36974
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
36975
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.5ms)
36976
+ Completed 500 Internal Server Error in 10ms (Views: 10.0ms)
36977
+ ----------------------------------------------------
36978
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
36979
+ ----------------------------------------------------
36980
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
36981
+ Processing by Cogy::CogyController#command as HTML
36982
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
36983
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
36984
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
36985
+ --------------------------------------------------------
36986
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
36987
+ --------------------------------------------------------
36988
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
36989
+ Processing by Cogy::CogyController#command as HTML
36990
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
36991
+ Rendered text template (0.0ms)
36992
+ Completed 200 OK in 1ms (Views: 1.1ms)
36993
+ -----------------------------------------------------------------------
36994
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
36995
+ -----------------------------------------------------------------------
36996
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
36997
+ Processing by Cogy::CogyController#command as HTML
36998
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
36999
+ Rendered text template (0.0ms)
37000
+ Completed 200 OK in 0ms (Views: 0.2ms)
37001
+ -----------------------------------
37002
+ Cogy::BuiltinHelpersTest: test_args
37003
+ -----------------------------------
37004
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37005
+ Processing by Cogy::CogyController#command as HTML
37006
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
37007
+ Rendered text template (0.0ms)
37008
+ Completed 200 OK in 0ms (Views: 0.2ms)
37009
+ -----------------------------------------------------------------
37010
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
37011
+ -----------------------------------------------------------------
37012
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37013
+ Processing by Cogy::CogyController#command as HTML
37014
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
37015
+ Rendered text template (0.0ms)
37016
+ Completed 200 OK in 0ms (Views: 0.2ms)
37017
+ ----------------------------------------------------
37018
+ Cogy::HelpersTest: test_custom_helper_with_arguments
37019
+ ----------------------------------------------------
37020
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37021
+ Processing by Cogy::CogyController#command as HTML
37022
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
37023
+ Rendered text template (0.0ms)
37024
+ Completed 200 OK in 0ms (Views: 0.2ms)
37025
+ -------------------------------------
37026
+ Cogy::CommandTest: test_args_ordering
37027
+ -------------------------------------
37028
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37029
+ Processing by Cogy::CogyController#command as HTML
37030
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
37031
+ Rendered text template (0.0ms)
37032
+ Completed 200 OK in 0ms (Views: 0.2ms)
37033
+ -------------------------------------------------------------
37034
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
37035
+ -------------------------------------------------------------
37036
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37037
+ Processing by Cogy::CogyController#command as HTML
37038
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
37039
+ Rendered text template (0.0ms)
37040
+ Completed 200 OK in 0ms (Views: 0.2ms)
37041
+ -----------------------------------------
37042
+ Cogy::CommandTest: test_command_not_found
37043
+ -----------------------------------------
37044
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37045
+ Processing by Cogy::CogyController#command as HTML
37046
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
37047
+ Rendered text template (0.0ms)
37048
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
37049
+ ------------------------------------------------
37050
+ Cogy::CommandTest: test_invalid_opts_declaration
37051
+ ------------------------------------------------
37052
+ -------------------------------------------
37053
+ Cogy::CommandTest: test_error_response_code
37054
+ -------------------------------------------
37055
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37056
+ Processing by Cogy::CogyController#command as HTML
37057
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
37058
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
37059
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
37060
+ --------------------------------
37061
+ Cogy::CommandTest: test_cogy_env
37062
+ --------------------------------
37063
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37064
+ Processing by Cogy::CogyController#command as HTML
37065
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
37066
+ Rendered text template (0.0ms)
37067
+ Completed 200 OK in 0ms (Views: 0.2ms)
37068
+ ---------------------------------
37069
+ Cogy::CommandTest: test_list_opts
37070
+ ---------------------------------
37071
+ Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37072
+ Processing by Cogy::CogyController#command as HTML
37073
+ Parameters: {"COG_OPT_FLAVOR_0"=>"foo", "COG_OPT_FLAVOR_1"=>"baz", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_list_opts"}
37074
+ Rendered text template (0.0ms)
37075
+ Completed 200 OK in 0ms (Views: 0.2ms)
37076
+ ------------------------------------
37077
+ Cogy::CommandTest: test_calc_command
37078
+ ------------------------------------
37079
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37080
+ Processing by Cogy::CogyController#command as HTML
37081
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
37082
+ Rendered text template (0.0ms)
37083
+ Completed 200 OK in 0ms (Views: 0.2ms)
37084
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37085
+ Processing by Cogy::CogyController#command as HTML
37086
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
37087
+ Rendered text template (0.0ms)
37088
+ Completed 200 OK in 0ms (Views: 0.2ms)
37089
+ -----------------------------------------
37090
+ Cogy::CommandTest: test_rails_url_helpers
37091
+ -----------------------------------------
37092
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37093
+ Processing by Cogy::CogyController#command as HTML
37094
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
37095
+ Rendered text template (0.0ms)
37096
+ Completed 200 OK in 1ms (Views: 0.3ms)
37097
+ --------------------------------------------
37098
+ Cogy::InventoryTest: test_cog_bundle_version
37099
+ --------------------------------------------
37100
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37101
+ Processing by Cogy::CogyController#inventory as HTML
37102
+ Rendered text template (0.0ms)
37103
+ Completed 200 OK in 3ms (Views: 0.3ms)
37104
+ -----------------------------------------------
37105
+ Cogy::InventoryTest: test_bundle_version_lambda
37106
+ -----------------------------------------------
37107
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37108
+ Processing by Cogy::CogyController#inventory as HTML
37109
+ Rendered text template (0.0ms)
37110
+ Completed 200 OK in 3ms (Views: 0.3ms)
37111
+ ------------------------------------
37112
+ Cogy::InventoryTest: test_valid_yaml
37113
+ ------------------------------------
37114
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37115
+ Processing by Cogy::CogyController#inventory as HTML
37116
+ Rendered text template (0.0ms)
37117
+ Completed 200 OK in 3ms (Views: 0.4ms)
37118
+ --------------------------------------
37119
+ Cogy::InventoryTest: test_content_type
37120
+ --------------------------------------
37121
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37122
+ Processing by Cogy::CogyController#inventory as HTML
37123
+ Rendered text template (0.1ms)
37124
+ Completed 200 OK in 6ms (Views: 1.3ms)
37125
+ ----------------------------------
37126
+ Cogy::InventoryTest: test_template
37127
+ ----------------------------------
37128
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37129
+ Processing by Cogy::CogyController#inventory as HTML
37130
+ Rendered text template (0.0ms)
37131
+ Completed 200 OK in 5ms (Views: 0.8ms)
37132
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37133
+ Processing by Cogy::CogyController#inventory as HTML
37134
+ Rendered text template (0.0ms)
37135
+ Completed 200 OK in 3ms (Views: 0.2ms)
37136
+ ------------------------------------------
37137
+ Cogy::InventoryTest: test_commands_section
37138
+ ------------------------------------------
37139
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37140
+ Processing by Cogy::CogyController#inventory as HTML
37141
+ Rendered text template (0.0ms)
37142
+ Completed 200 OK in 3ms (Views: 0.2ms)
37143
+ ------------------------------------------
37144
+ Cogy::InventoryTest: test_without_commands
37145
+ ------------------------------------------
37146
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37147
+ Processing by Cogy::CogyController#inventory as HTML
37148
+ Rendered text template (0.0ms)
37149
+ Completed 200 OK in 1ms (Views: 0.2ms)
37150
+ --------------------------------------------
37151
+ Cogy::JsonResponseTest: test_custom_template
37152
+ --------------------------------------------
37153
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37154
+ Processing by Cogy::CogyController#command as HTML
37155
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
37156
+ Rendered text template (0.0ms)
37157
+ Completed 200 OK in 0ms (Views: 0.3ms)
37158
+ -------------------------------------------------------------
37159
+ Cogy::JsonResponseTest: test_json_output_and_default_template
37160
+ -------------------------------------------------------------
37161
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-06 16:36:49 +0200
37162
+ Processing by Cogy::CogyController#command as HTML
37163
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
37164
+ Rendered text template (0.0ms)
37165
+ Completed 200 OK in 0ms (Views: 0.2ms)
37166
+ ---------------------------------
37167
+ Cogy::CommandTest: test_list_opts
37168
+ ---------------------------------
37169
+ Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37170
+ Processing by Cogy::CogyController#command as HTML
37171
+ Parameters: {"COG_OPT_FLAVOR_0"=>"foo", "COG_OPT_FLAVOR_1"=>"baz", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_list_opts"}
37172
+ Rendered text template (0.0ms)
37173
+ Completed 200 OK in 7ms (Views: 6.6ms)
37174
+ ------------------------------------------------
37175
+ Cogy::CommandTest: test_invalid_opts_declaration
37176
+ ------------------------------------------------
37177
+ -----------------------------------------
37178
+ Cogy::CommandTest: test_rails_url_helpers
37179
+ -----------------------------------------
37180
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37181
+ Processing by Cogy::CogyController#command as HTML
37182
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
37183
+ Rendered text template (0.0ms)
37184
+ Completed 200 OK in 1ms (Views: 0.3ms)
37185
+ -----------------------------------------
37186
+ Cogy::CommandTest: test_command_not_found
37187
+ -----------------------------------------
37188
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37189
+ Processing by Cogy::CogyController#command as HTML
37190
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
37191
+ Rendered text template (0.0ms)
37192
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
37193
+ -------------------------------------------
37194
+ Cogy::CommandTest: test_error_response_code
37195
+ -------------------------------------------
37196
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37197
+ Processing by Cogy::CogyController#command as HTML
37198
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
37199
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.4ms)
37200
+ Completed 500 Internal Server Error in 4ms (Views: 3.5ms)
37201
+ -------------------------------------------------------------
37202
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
37203
+ -------------------------------------------------------------
37204
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37205
+ Processing by Cogy::CogyController#command as HTML
37206
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
37207
+ Rendered text template (0.0ms)
37208
+ Completed 200 OK in 0ms (Views: 0.2ms)
37209
+ ------------------------------------
37210
+ Cogy::CommandTest: test_calc_command
37211
+ ------------------------------------
37212
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37213
+ Processing by Cogy::CogyController#command as HTML
37214
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
37215
+ Rendered text template (0.0ms)
37216
+ Completed 200 OK in 0ms (Views: 0.2ms)
37217
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37218
+ Processing by Cogy::CogyController#command as HTML
37219
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
37220
+ Rendered text template (0.0ms)
37221
+ Completed 200 OK in 0ms (Views: 0.2ms)
37222
+ --------------------------------
37223
+ Cogy::CommandTest: test_cogy_env
37224
+ --------------------------------
37225
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37226
+ Processing by Cogy::CogyController#command as HTML
37227
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
37228
+ Rendered text template (0.0ms)
37229
+ Completed 200 OK in 0ms (Views: 0.2ms)
37230
+ -------------------------------------
37231
+ Cogy::CommandTest: test_args_ordering
37232
+ -------------------------------------
37233
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37234
+ Processing by Cogy::CogyController#command as HTML
37235
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
37236
+ Rendered text template (0.0ms)
37237
+ Completed 200 OK in 0ms (Views: 0.2ms)
37238
+ ------------------------------------------------
37239
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
37240
+ ------------------------------------------------
37241
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37242
+ Processing by Cogy::CogyController#command as HTML
37243
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
37244
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
37245
+ Completed 500 Internal Server Error in 1ms (Views: 0.5ms)
37246
+ ----------------------------------------------------
37247
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
37248
+ ----------------------------------------------------
37249
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37250
+ Processing by Cogy::CogyController#command as HTML
37251
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
37252
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
37253
+ Completed 500 Internal Server Error in 1ms (Views: 0.6ms)
37254
+ --------------------------------------------
37255
+ Cogy::JsonResponseTest: test_custom_template
37256
+ --------------------------------------------
37257
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37258
+ Processing by Cogy::CogyController#command as HTML
37259
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
37260
+ Rendered text template (0.0ms)
37261
+ Completed 200 OK in 1ms (Views: 0.4ms)
37262
+ -------------------------------------------------------------
37263
+ Cogy::JsonResponseTest: test_json_output_and_default_template
37264
+ -------------------------------------------------------------
37265
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37266
+ Processing by Cogy::CogyController#command as HTML
37267
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
37268
+ Rendered text template (0.0ms)
37269
+ Completed 200 OK in 0ms (Views: 0.3ms)
37270
+ ----------------------------------------------------
37271
+ Cogy::HelpersTest: test_custom_helper_with_arguments
37272
+ ----------------------------------------------------
37273
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37274
+ Processing by Cogy::CogyController#command as HTML
37275
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
37276
+ Rendered text template (0.0ms)
37277
+ Completed 200 OK in 1ms (Views: 0.3ms)
37278
+ -----------------------------------------------------------------
37279
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
37280
+ -----------------------------------------------------------------
37281
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37282
+ Processing by Cogy::CogyController#command as HTML
37283
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
37284
+ Rendered text template (0.0ms)
37285
+ Completed 200 OK in 1ms (Views: 0.6ms)
37286
+ -----------------------------------------------
37287
+ Cogy::InventoryTest: test_bundle_version_lambda
37288
+ -----------------------------------------------
37289
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37290
+ Processing by Cogy::CogyController#inventory as HTML
37291
+ Rendered text template (0.0ms)
37292
+ Completed 200 OK in 3ms (Views: 0.2ms)
37293
+ --------------------------------------------
37294
+ Cogy::InventoryTest: test_cog_bundle_version
37295
+ --------------------------------------------
37296
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37297
+ Processing by Cogy::CogyController#inventory as HTML
37298
+ Rendered text template (0.0ms)
37299
+ Completed 200 OK in 3ms (Views: 0.2ms)
37300
+ ------------------------------------------
37301
+ Cogy::InventoryTest: test_commands_section
37302
+ ------------------------------------------
37303
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37304
+ Processing by Cogy::CogyController#inventory as HTML
37305
+ Rendered text template (0.0ms)
37306
+ Completed 200 OK in 3ms (Views: 0.3ms)
37307
+ ------------------------------------
37308
+ Cogy::InventoryTest: test_valid_yaml
37309
+ ------------------------------------
37310
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37311
+ Processing by Cogy::CogyController#inventory as HTML
37312
+ Rendered text template (0.0ms)
37313
+ Completed 200 OK in 3ms (Views: 0.3ms)
37314
+ --------------------------------------
37315
+ Cogy::InventoryTest: test_content_type
37316
+ --------------------------------------
37317
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37318
+ Processing by Cogy::CogyController#inventory as HTML
37319
+ Rendered text template (0.0ms)
37320
+ Completed 200 OK in 3ms (Views: 0.3ms)
37321
+ ----------------------------------
37322
+ Cogy::InventoryTest: test_template
37323
+ ----------------------------------
37324
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37325
+ Processing by Cogy::CogyController#inventory as HTML
37326
+ Rendered text template (0.0ms)
37327
+ Completed 200 OK in 3ms (Views: 0.2ms)
37328
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37329
+ Processing by Cogy::CogyController#inventory as HTML
37330
+ Rendered text template (0.0ms)
37331
+ Completed 200 OK in 3ms (Views: 0.3ms)
37332
+ ------------------------------------------
37333
+ Cogy::InventoryTest: test_without_commands
37334
+ ------------------------------------------
37335
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37336
+ Processing by Cogy::CogyController#inventory as HTML
37337
+ Rendered text template (0.0ms)
37338
+ Completed 200 OK in 1ms (Views: 0.2ms)
37339
+ --------------------------------------------------------
37340
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
37341
+ --------------------------------------------------------
37342
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37343
+ Processing by Cogy::CogyController#command as HTML
37344
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
37345
+ Rendered text template (0.0ms)
37346
+ Completed 200 OK in 0ms (Views: 0.2ms)
37347
+ -----------------------------------------------------------------------
37348
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
37349
+ -----------------------------------------------------------------------
37350
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37351
+ Processing by Cogy::CogyController#command as HTML
37352
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
37353
+ Rendered text template (0.0ms)
37354
+ Completed 200 OK in 0ms (Views: 0.2ms)
37355
+ -----------------------------------
37356
+ Cogy::BuiltinHelpersTest: test_args
37357
+ -----------------------------------
37358
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-06 17:17:34 +0200
37359
+ Processing by Cogy::CogyController#command as HTML
37360
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
37361
+ Rendered text template (0.0ms)
37362
+ Completed 200 OK in 0ms (Views: 0.2ms)
37363
+ ----------------------------------------------------
37364
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
37365
+ ----------------------------------------------------
37366
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37367
+ Processing by Cogy::CogyController#command as HTML
37368
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
37369
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.4ms)
37370
+ Completed 500 Internal Server Error in 10ms (Views: 9.8ms)
37371
+ ------------------------------------------------
37372
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
37373
+ ------------------------------------------------
37374
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37375
+ Processing by Cogy::CogyController#command as HTML
37376
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
37377
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
37378
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
37379
+ -----------------------------------
37380
+ Cogy::BuiltinHelpersTest: test_args
37381
+ -----------------------------------
37382
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37383
+ Processing by Cogy::CogyController#command as HTML
37384
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
37385
+ Rendered text template (0.0ms)
37386
+ Completed 200 OK in 2ms (Views: 1.7ms)
37387
+ -----------------------------------------------------------------------
37388
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
37389
+ -----------------------------------------------------------------------
37390
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37391
+ Processing by Cogy::CogyController#command as HTML
37392
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
37393
+ Rendered text template (0.0ms)
37394
+ Completed 200 OK in 0ms (Views: 0.2ms)
37395
+ --------------------------------------------------------
37396
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
37397
+ --------------------------------------------------------
37398
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37399
+ Processing by Cogy::CogyController#command as HTML
37400
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
37401
+ Rendered text template (0.0ms)
37402
+ Completed 200 OK in 0ms (Views: 0.2ms)
37403
+ -----------------------------------------
37404
+ Cogy::CommandTest: test_command_not_found
37405
+ -----------------------------------------
37406
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37407
+ Processing by Cogy::CogyController#command as HTML
37408
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
37409
+ Rendered text template (0.0ms)
37410
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
37411
+ ------------------------------------
37412
+ Cogy::CommandTest: test_calc_command
37413
+ ------------------------------------
37414
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37415
+ Processing by Cogy::CogyController#command as HTML
37416
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
37417
+ Rendered text template (0.0ms)
37418
+ Completed 200 OK in 0ms (Views: 0.3ms)
37419
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37420
+ Processing by Cogy::CogyController#command as HTML
37421
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
37422
+ Rendered text template (0.0ms)
37423
+ Completed 200 OK in 0ms (Views: 0.2ms)
37424
+ -------------------------------------
37425
+ Cogy::CommandTest: test_args_ordering
37426
+ -------------------------------------
37427
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37428
+ Processing by Cogy::CogyController#command as HTML
37429
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
37430
+ Rendered text template (0.0ms)
37431
+ Completed 200 OK in 0ms (Views: 0.2ms)
37432
+ --------------------------------
37433
+ Cogy::CommandTest: test_cogy_env
37434
+ --------------------------------
37435
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37436
+ Processing by Cogy::CogyController#command as HTML
37437
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
37438
+ Rendered text template (0.0ms)
37439
+ Completed 200 OK in 0ms (Views: 0.3ms)
37440
+ ---------------------------------
37441
+ Cogy::CommandTest: test_list_opts
37442
+ ---------------------------------
37443
+ Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37444
+ Processing by Cogy::CogyController#command as HTML
37445
+ Parameters: {"COG_OPT_FLAVOR_0"=>"foo", "COG_OPT_FLAVOR_1"=>"baz", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_list_opts"}
37446
+ Rendered text template (0.0ms)
37447
+ Completed 200 OK in 0ms (Views: 0.2ms)
37448
+ -----------------------------------------
37449
+ Cogy::CommandTest: test_rails_url_helpers
37450
+ -----------------------------------------
37451
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37452
+ Processing by Cogy::CogyController#command as HTML
37453
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
37454
+ Rendered text template (0.0ms)
37455
+ Completed 200 OK in 1ms (Views: 0.3ms)
37456
+ ------------------------------------------------
37457
+ Cogy::CommandTest: test_invalid_opts_declaration
37458
+ ------------------------------------------------
37459
+ -------------------------------------------------------------
37460
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
37461
+ -------------------------------------------------------------
37462
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37463
+ Processing by Cogy::CogyController#command as HTML
37464
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
37465
+ Rendered text template (0.0ms)
37466
+ Completed 200 OK in 0ms (Views: 0.2ms)
37467
+ -------------------------------------------
37468
+ Cogy::CommandTest: test_error_response_code
37469
+ -------------------------------------------
37470
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37471
+ Processing by Cogy::CogyController#command as HTML
37472
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
37473
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
37474
+ Completed 500 Internal Server Error in 1ms (Views: 0.5ms)
37475
+ ------------------------------------
37476
+ Cogy::InventoryTest: test_valid_yaml
37477
+ ------------------------------------
37478
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37479
+ Processing by Cogy::CogyController#inventory as HTML
37480
+ Rendered text template (0.0ms)
37481
+ Completed 200 OK in 3ms (Views: 0.2ms)
37482
+ ------------------------------------------
37483
+ Cogy::InventoryTest: test_commands_section
37484
+ ------------------------------------------
37485
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37486
+ Processing by Cogy::CogyController#inventory as HTML
37487
+ Rendered text template (0.0ms)
37488
+ Completed 200 OK in 3ms (Views: 0.3ms)
37489
+ -----------------------------------------------
37490
+ Cogy::InventoryTest: test_bundle_version_lambda
37491
+ -----------------------------------------------
37492
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37493
+ Processing by Cogy::CogyController#inventory as HTML
37494
+ Rendered text template (0.0ms)
37495
+ Completed 200 OK in 4ms (Views: 0.3ms)
37496
+ ------------------------------------------
37497
+ Cogy::InventoryTest: test_without_commands
37498
+ ------------------------------------------
37499
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37500
+ Processing by Cogy::CogyController#inventory as HTML
37501
+ Rendered text template (0.0ms)
37502
+ Completed 200 OK in 1ms (Views: 0.2ms)
37503
+ ----------------------------------
37504
+ Cogy::InventoryTest: test_template
37505
+ ----------------------------------
37506
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37507
+ Processing by Cogy::CogyController#inventory as HTML
37508
+ Rendered text template (0.0ms)
37509
+ Completed 200 OK in 3ms (Views: 0.3ms)
37510
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37511
+ Processing by Cogy::CogyController#inventory as HTML
37512
+ Rendered text template (0.0ms)
37513
+ Completed 200 OK in 4ms (Views: 0.6ms)
37514
+ --------------------------------------------
37515
+ Cogy::InventoryTest: test_cog_bundle_version
37516
+ --------------------------------------------
37517
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37518
+ Processing by Cogy::CogyController#inventory as HTML
37519
+ Rendered text template (0.0ms)
37520
+ Completed 200 OK in 4ms (Views: 0.3ms)
37521
+ --------------------------------------
37522
+ Cogy::InventoryTest: test_content_type
37523
+ --------------------------------------
37524
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37525
+ Processing by Cogy::CogyController#inventory as HTML
37526
+ Rendered text template (0.0ms)
37527
+ Completed 200 OK in 3ms (Views: 0.3ms)
37528
+ --------------------------------------------
37529
+ Cogy::JsonResponseTest: test_custom_template
37530
+ --------------------------------------------
37531
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37532
+ Processing by Cogy::CogyController#command as HTML
37533
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
37534
+ Rendered text template (0.0ms)
37535
+ Completed 200 OK in 2ms (Views: 0.3ms)
37536
+ -------------------------------------------------------------
37537
+ Cogy::JsonResponseTest: test_json_output_and_default_template
37538
+ -------------------------------------------------------------
37539
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37540
+ Processing by Cogy::CogyController#command as HTML
37541
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
37542
+ Rendered text template (0.0ms)
37543
+ Completed 200 OK in 0ms (Views: 0.2ms)
37544
+ -----------------------------------------------------------------
37545
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
37546
+ -----------------------------------------------------------------
37547
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37548
+ Processing by Cogy::CogyController#command as HTML
37549
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
37550
+ Rendered text template (0.0ms)
37551
+ Completed 200 OK in 0ms (Views: 0.2ms)
37552
+ ----------------------------------------------------
37553
+ Cogy::HelpersTest: test_custom_helper_with_arguments
37554
+ ----------------------------------------------------
37555
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 12:30:01 +0200
37556
+ Processing by Cogy::CogyController#command as HTML
37557
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
37558
+ Rendered text template (0.0ms)
37559
+ Completed 200 OK in 0ms (Views: 0.2ms)
37560
+ -----------------------------------
37561
+ Cogy::BuiltinHelpersTest: test_args
37562
+ -----------------------------------
37563
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37564
+ Processing by Cogy::CogyController#command as HTML
37565
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
37566
+ Rendered text template (0.0ms)
37567
+ Completed 200 OK in 7ms (Views: 6.4ms)
37568
+ -----------------------------------------------------------------------
37569
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
37570
+ -----------------------------------------------------------------------
37571
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37572
+ Processing by Cogy::CogyController#command as HTML
37573
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
37574
+ Rendered text template (0.0ms)
37575
+ Completed 200 OK in 0ms (Views: 0.3ms)
37576
+ --------------------------------------------------------
37577
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
37578
+ --------------------------------------------------------
37579
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37580
+ Processing by Cogy::CogyController#command as HTML
37581
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
37582
+ Rendered text template (0.0ms)
37583
+ Completed 200 OK in 0ms (Views: 0.2ms)
37584
+ ----------------------------------------------------
37585
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
37586
+ ----------------------------------------------------
37587
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37588
+ Processing by Cogy::CogyController#command as HTML
37589
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
37590
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms)
37591
+ Completed 500 Internal Server Error in 3ms (Views: 2.9ms)
37592
+ ------------------------------------------------
37593
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
37594
+ ------------------------------------------------
37595
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37596
+ Processing by Cogy::CogyController#command as HTML
37597
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
37598
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
37599
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
37600
+ -----------------------------------------------------------------
37601
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
37602
+ -----------------------------------------------------------------
37603
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37604
+ Processing by Cogy::CogyController#command as HTML
37605
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
37606
+ Rendered text template (0.0ms)
37607
+ Completed 200 OK in 0ms (Views: 0.2ms)
37608
+ ----------------------------------------------------
37609
+ Cogy::HelpersTest: test_custom_helper_with_arguments
37610
+ ----------------------------------------------------
37611
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37612
+ Processing by Cogy::CogyController#command as HTML
37613
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
37614
+ Rendered text template (0.0ms)
37615
+ Completed 200 OK in 0ms (Views: 0.3ms)
37616
+ -----------------------------------------------
37617
+ Cogy::InventoryTest: test_bundle_version_lambda
37618
+ -----------------------------------------------
37619
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37620
+ Processing by Cogy::CogyController#inventory as HTML
37621
+ Rendered text template (0.0ms)
37622
+ Completed 200 OK in 3ms (Views: 0.2ms)
37623
+ ----------------------------------
37624
+ Cogy::InventoryTest: test_template
37625
+ ----------------------------------
37626
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37627
+ Processing by Cogy::CogyController#inventory as HTML
37628
+ Rendered text template (0.0ms)
37629
+ Completed 200 OK in 3ms (Views: 0.2ms)
37630
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37631
+ Processing by Cogy::CogyController#inventory as HTML
37632
+ Rendered text template (0.0ms)
37633
+ Completed 200 OK in 3ms (Views: 0.2ms)
37634
+ --------------------------------------------
37635
+ Cogy::InventoryTest: test_cog_bundle_version
37636
+ --------------------------------------------
37637
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37638
+ Processing by Cogy::CogyController#inventory as HTML
37639
+ Rendered text template (0.0ms)
37640
+ Completed 200 OK in 3ms (Views: 0.2ms)
37641
+ ------------------------------------------
37642
+ Cogy::InventoryTest: test_without_commands
37643
+ ------------------------------------------
37644
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37645
+ Processing by Cogy::CogyController#inventory as HTML
37646
+ Rendered text template (0.0ms)
37647
+ Completed 200 OK in 1ms (Views: 0.2ms)
37648
+ ------------------------------------------
37649
+ Cogy::InventoryTest: test_commands_section
37650
+ ------------------------------------------
37651
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37652
+ Processing by Cogy::CogyController#inventory as HTML
37653
+ Rendered text template (0.0ms)
37654
+ Completed 200 OK in 3ms (Views: 0.3ms)
37655
+ ------------------------------------
37656
+ Cogy::InventoryTest: test_valid_yaml
37657
+ ------------------------------------
37658
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37659
+ Processing by Cogy::CogyController#inventory as HTML
37660
+ Rendered text template (0.0ms)
37661
+ Completed 200 OK in 3ms (Views: 0.3ms)
37662
+ --------------------------------------
37663
+ Cogy::InventoryTest: test_content_type
37664
+ --------------------------------------
37665
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37666
+ Processing by Cogy::CogyController#inventory as HTML
37667
+ Rendered text template (0.0ms)
37668
+ Completed 200 OK in 3ms (Views: 0.3ms)
37669
+ -----------------------------------------
37670
+ Cogy::CommandTest: test_rails_url_helpers
37671
+ -----------------------------------------
37672
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37673
+ Processing by Cogy::CogyController#command as HTML
37674
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
37675
+ Rendered text template (0.0ms)
37676
+ Completed 200 OK in 1ms (Views: 0.3ms)
37677
+ --------------------------------
37678
+ Cogy::CommandTest: test_cogy_env
37679
+ --------------------------------
37680
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37681
+ Processing by Cogy::CogyController#command as HTML
37682
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
37683
+ Rendered text template (0.0ms)
37684
+ Completed 200 OK in 0ms (Views: 0.3ms)
37685
+ -------------------------------------------------------------
37686
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
37687
+ -------------------------------------------------------------
37688
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37689
+ Processing by Cogy::CogyController#command as HTML
37690
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
37691
+ Rendered text template (0.0ms)
37692
+ Completed 200 OK in 0ms (Views: 0.2ms)
37693
+ -------------------------------------------
37694
+ Cogy::CommandTest: test_error_response_code
37695
+ -------------------------------------------
37696
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37697
+ Processing by Cogy::CogyController#command as HTML
37698
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
37699
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
37700
+ Completed 500 Internal Server Error in 1ms (Views: 0.5ms)
37701
+ ------------------------------------------------
37702
+ Cogy::CommandTest: test_invalid_opts_declaration
37703
+ ------------------------------------------------
37704
+ ---------------------------------
37705
+ Cogy::CommandTest: test_list_opts
37706
+ ---------------------------------
37707
+ Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37708
+ Processing by Cogy::CogyController#command as HTML
37709
+ Parameters: {"COG_OPT_FLAVOR_0"=>"foo", "COG_OPT_FLAVOR_1"=>"baz", "COG_OPT_FOO_0"=>"1", "COG_OPT_FOO_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_list_opts"}
37710
+ Rendered text template (0.0ms)
37711
+ Completed 200 OK in 1ms (Views: 0.4ms)
37712
+ ------------------------------------
37713
+ Cogy::CommandTest: test_calc_command
37714
+ ------------------------------------
37715
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37716
+ Processing by Cogy::CogyController#command as HTML
37717
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
37718
+ Rendered text template (0.0ms)
37719
+ Completed 200 OK in 0ms (Views: 0.2ms)
37720
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37721
+ Processing by Cogy::CogyController#command as HTML
37722
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
37723
+ Rendered text template (0.0ms)
37724
+ Completed 200 OK in 1ms (Views: 0.7ms)
37725
+ -------------------------------------
37726
+ Cogy::CommandTest: test_args_ordering
37727
+ -------------------------------------
37728
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37729
+ Processing by Cogy::CogyController#command as HTML
37730
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
37731
+ Rendered text template (0.0ms)
37732
+ Completed 200 OK in 1ms (Views: 0.8ms)
37733
+ -----------------------------------------
37734
+ Cogy::CommandTest: test_command_not_found
37735
+ -----------------------------------------
37736
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37737
+ Processing by Cogy::CogyController#command as HTML
37738
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
37739
+ Rendered text template (0.0ms)
37740
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
37741
+ --------------------------------------------
37742
+ Cogy::JsonResponseTest: test_custom_template
37743
+ --------------------------------------------
37744
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37745
+ Processing by Cogy::CogyController#command as HTML
37746
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
37747
+ Rendered text template (0.0ms)
37748
+ Completed 200 OK in 0ms (Views: 0.2ms)
37749
+ -------------------------------------------------------------
37750
+ Cogy::JsonResponseTest: test_json_output_and_default_template
37751
+ -------------------------------------------------------------
37752
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 12:37:32 +0200
37753
+ Processing by Cogy::CogyController#command as HTML
37754
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
37755
+ Rendered text template (0.0ms)
37756
+ Completed 200 OK in 0ms (Views: 0.2ms)
37757
+ --------------------------------------------
37758
+ Cogy::JsonResponseTest: test_custom_template
37759
+ --------------------------------------------
37760
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37761
+ Processing by Cogy::CogyController#command as HTML
37762
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
37763
+ Rendered text template (0.0ms)
37764
+ Completed 200 OK in 5ms (Views: 4.8ms)
37765
+ -------------------------------------------------------------
37766
+ Cogy::JsonResponseTest: test_json_output_and_default_template
37767
+ -------------------------------------------------------------
37768
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37769
+ Processing by Cogy::CogyController#command as HTML
37770
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
37771
+ Rendered text template (0.0ms)
37772
+ Completed 200 OK in 0ms (Views: 0.3ms)
37773
+ -----------------------------------
37774
+ Cogy::BuiltinHelpersTest: test_args
37775
+ -----------------------------------
37776
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37777
+ Processing by Cogy::CogyController#command as HTML
37778
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
37779
+ Rendered text template (0.0ms)
37780
+ Completed 200 OK in 0ms (Views: 0.2ms)
37781
+ -----------------------------------------------------------------------
37782
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
37783
+ -----------------------------------------------------------------------
37784
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37785
+ Processing by Cogy::CogyController#command as HTML
37786
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
37787
+ Rendered text template (0.0ms)
37788
+ Completed 200 OK in 0ms (Views: 0.2ms)
37789
+ --------------------------------------------------------
37790
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
37791
+ --------------------------------------------------------
37792
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37793
+ Processing by Cogy::CogyController#command as HTML
37794
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
37795
+ Rendered text template (0.0ms)
37796
+ Completed 200 OK in 0ms (Views: 0.2ms)
37797
+ ----------------------------------------------------
37798
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
37799
+ ----------------------------------------------------
37800
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37801
+ Processing by Cogy::CogyController#command as HTML
37802
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
37803
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms)
37804
+ Completed 500 Internal Server Error in 5ms (Views: 5.2ms)
37805
+ ------------------------------------------------
37806
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
37807
+ ------------------------------------------------
37808
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37809
+ Processing by Cogy::CogyController#command as HTML
37810
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
37811
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
37812
+ Completed 500 Internal Server Error in 0ms (Views: 0.3ms)
37813
+ ----------------------------------------------------
37814
+ Cogy::HelpersTest: test_custom_helper_with_arguments
37815
+ ----------------------------------------------------
37816
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37817
+ Processing by Cogy::CogyController#command as HTML
37818
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
37819
+ Rendered text template (0.0ms)
37820
+ Completed 200 OK in 0ms (Views: 0.2ms)
37821
+ -----------------------------------------------------------------
37822
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
37823
+ -----------------------------------------------------------------
37824
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37825
+ Processing by Cogy::CogyController#command as HTML
37826
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
37827
+ Rendered text template (0.0ms)
37828
+ Completed 200 OK in 0ms (Views: 0.2ms)
37829
+ -------------------------------------------
37830
+ Cogy::CommandTest: test_error_response_code
37831
+ -------------------------------------------
37832
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37833
+ Processing by Cogy::CogyController#command as HTML
37834
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
37835
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
37836
+ Completed 500 Internal Server Error in 1ms (Views: 0.5ms)
37837
+ -------------------------------------------------------------
37838
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
37839
+ -------------------------------------------------------------
37840
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37841
+ Processing by Cogy::CogyController#command as HTML
37842
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
37843
+ Rendered text template (0.0ms)
37844
+ Completed 200 OK in 0ms (Views: 0.2ms)
37845
+ ---------------------------------
37846
+ Cogy::CommandTest: test_list_opts
37847
+ ---------------------------------
37848
+ Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37849
+ Processing by Cogy::CogyController#command as HTML
37850
+ Parameters: {"COG_OPT_FLAVOR_0"=>"foo", "COG_OPT_FLAVOR_1"=>"baz", "COG_OPT_FOO_0"=>"1", "COG_OPT_FOO_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_list_opts"}
37851
+ Rendered text template (0.0ms)
37852
+ Completed 200 OK in 0ms (Views: 0.2ms)
37853
+ ------------------------------------
37854
+ Cogy::CommandTest: test_calc_command
37855
+ ------------------------------------
37856
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37857
+ Processing by Cogy::CogyController#command as HTML
37858
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
37859
+ Rendered text template (0.0ms)
37860
+ Completed 200 OK in 0ms (Views: 0.2ms)
37861
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37862
+ Processing by Cogy::CogyController#command as HTML
37863
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
37864
+ Rendered text template (0.0ms)
37865
+ Completed 200 OK in 0ms (Views: 0.2ms)
37866
+ ------------------------------------------------
37867
+ Cogy::CommandTest: test_invalid_opts_declaration
37868
+ ------------------------------------------------
37869
+ --------------------------------
37870
+ Cogy::CommandTest: test_cogy_env
37871
+ --------------------------------
37872
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37873
+ Processing by Cogy::CogyController#command as HTML
37874
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
37875
+ Rendered text template (0.0ms)
37876
+ Completed 200 OK in 0ms (Views: 0.2ms)
37877
+ -----------------------------------------
37878
+ Cogy::CommandTest: test_command_not_found
37879
+ -----------------------------------------
37880
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37881
+ Processing by Cogy::CogyController#command as HTML
37882
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
37883
+ Rendered text template (0.0ms)
37884
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
37885
+ -------------------------------------
37886
+ Cogy::CommandTest: test_args_ordering
37887
+ -------------------------------------
37888
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37889
+ Processing by Cogy::CogyController#command as HTML
37890
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
37891
+ Rendered text template (0.0ms)
37892
+ Completed 200 OK in 0ms (Views: 0.3ms)
37893
+ -----------------------------------------
37894
+ Cogy::CommandTest: test_rails_url_helpers
37895
+ -----------------------------------------
37896
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37897
+ Processing by Cogy::CogyController#command as HTML
37898
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
37899
+ Rendered text template (0.0ms)
37900
+ Completed 200 OK in 1ms (Views: 0.3ms)
37901
+ ------------------------------------------
37902
+ Cogy::InventoryTest: test_without_commands
37903
+ ------------------------------------------
37904
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37905
+ Processing by Cogy::CogyController#inventory as HTML
37906
+ Rendered text template (0.0ms)
37907
+ Completed 200 OK in 3ms (Views: 0.8ms)
37908
+ --------------------------------------------
37909
+ Cogy::InventoryTest: test_cog_bundle_version
37910
+ --------------------------------------------
37911
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37912
+ Processing by Cogy::CogyController#inventory as HTML
37913
+ Rendered text template (0.0ms)
37914
+ Completed 200 OK in 5ms (Views: 0.3ms)
37915
+ --------------------------------------
37916
+ Cogy::InventoryTest: test_content_type
37917
+ --------------------------------------
37918
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37919
+ Processing by Cogy::CogyController#inventory as HTML
37920
+ Rendered text template (0.0ms)
37921
+ Completed 200 OK in 3ms (Views: 0.2ms)
37922
+ -----------------------------------------------
37923
+ Cogy::InventoryTest: test_bundle_version_lambda
37924
+ -----------------------------------------------
37925
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37926
+ Processing by Cogy::CogyController#inventory as HTML
37927
+ Rendered text template (0.0ms)
37928
+ Completed 200 OK in 3ms (Views: 0.2ms)
37929
+ ----------------------------------
37930
+ Cogy::InventoryTest: test_template
37931
+ ----------------------------------
37932
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37933
+ Processing by Cogy::CogyController#inventory as HTML
37934
+ Rendered text template (0.0ms)
37935
+ Completed 200 OK in 3ms (Views: 0.3ms)
37936
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37937
+ Processing by Cogy::CogyController#inventory as HTML
37938
+ Rendered text template (0.0ms)
37939
+ Completed 200 OK in 3ms (Views: 0.3ms)
37940
+ ------------------------------------
37941
+ Cogy::InventoryTest: test_valid_yaml
37942
+ ------------------------------------
37943
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37944
+ Processing by Cogy::CogyController#inventory as HTML
37945
+ Rendered text template (0.0ms)
37946
+ Completed 200 OK in 3ms (Views: 0.3ms)
37947
+ ------------------------------------------
37948
+ Cogy::InventoryTest: test_commands_section
37949
+ ------------------------------------------
37950
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200
37951
+ Processing by Cogy::CogyController#inventory as HTML
37952
+ Rendered text template (0.0ms)
37953
+ Completed 200 OK in 3ms (Views: 0.2ms)
37954
+ -------------------------------------------------------------
37955
+ Cogy::JsonResponseTest: test_json_output_and_default_template
37956
+ -------------------------------------------------------------
37957
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
37958
+ Processing by Cogy::CogyController#command as HTML
37959
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
37960
+ Rendered text template (0.0ms)
37961
+ Completed 200 OK in 5ms (Views: 4.8ms)
37962
+ --------------------------------------------
37963
+ Cogy::JsonResponseTest: test_custom_template
37964
+ --------------------------------------------
37965
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
37966
+ Processing by Cogy::CogyController#command as HTML
37967
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
37968
+ Rendered text template (0.0ms)
37969
+ Completed 200 OK in 0ms (Views: 0.2ms)
37970
+ ----------------------------------------------------
37971
+ Cogy::HelpersTest: test_custom_helper_with_arguments
37972
+ ----------------------------------------------------
37973
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
37974
+ Processing by Cogy::CogyController#command as HTML
37975
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
37976
+ Rendered text template (0.0ms)
37977
+ Completed 200 OK in 0ms (Views: 0.2ms)
37978
+ -----------------------------------------------------------------
37979
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
37980
+ -----------------------------------------------------------------
37981
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
37982
+ Processing by Cogy::CogyController#command as HTML
37983
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
37984
+ Rendered text template (0.0ms)
37985
+ Completed 200 OK in 0ms (Views: 0.2ms)
37986
+ -----------------------------------------------------------------------
37987
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
37988
+ -----------------------------------------------------------------------
37989
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
37990
+ Processing by Cogy::CogyController#command as HTML
37991
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
37992
+ Rendered text template (0.0ms)
37993
+ Completed 200 OK in 0ms (Views: 0.2ms)
37994
+ --------------------------------------------------------
37995
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
37996
+ --------------------------------------------------------
37997
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
37998
+ Processing by Cogy::CogyController#command as HTML
37999
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
38000
+ Rendered text template (0.0ms)
38001
+ Completed 200 OK in 0ms (Views: 0.2ms)
38002
+ -----------------------------------
38003
+ Cogy::BuiltinHelpersTest: test_args
38004
+ -----------------------------------
38005
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38006
+ Processing by Cogy::CogyController#command as HTML
38007
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
38008
+ Rendered text template (0.0ms)
38009
+ Completed 200 OK in 1ms (Views: 0.4ms)
38010
+ ------------------------------------------------
38011
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
38012
+ ------------------------------------------------
38013
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38014
+ Processing by Cogy::CogyController#command as HTML
38015
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
38016
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms)
38017
+ Completed 500 Internal Server Error in 3ms (Views: 2.8ms)
38018
+ ----------------------------------------------------
38019
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
38020
+ ----------------------------------------------------
38021
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38022
+ Processing by Cogy::CogyController#command as HTML
38023
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
38024
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
38025
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
38026
+ -------------------------------------------
38027
+ Cogy::CommandTest: test_error_response_code
38028
+ -------------------------------------------
38029
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38030
+ Processing by Cogy::CogyController#command as HTML
38031
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
38032
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
38033
+ Completed 500 Internal Server Error in 1ms (Views: 0.5ms)
38034
+ -----------------------------------------
38035
+ Cogy::CommandTest: test_command_not_found
38036
+ -----------------------------------------
38037
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38038
+ Processing by Cogy::CogyController#command as HTML
38039
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
38040
+ Rendered text template (0.0ms)
38041
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
38042
+ --------------------------------
38043
+ Cogy::CommandTest: test_cogy_env
38044
+ --------------------------------
38045
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38046
+ Processing by Cogy::CogyController#command as HTML
38047
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
38048
+ Rendered text template (0.0ms)
38049
+ Completed 200 OK in 0ms (Views: 0.2ms)
38050
+ -------------------------------------
38051
+ Cogy::CommandTest: test_args_ordering
38052
+ -------------------------------------
38053
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38054
+ Processing by Cogy::CogyController#command as HTML
38055
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
38056
+ Rendered text template (0.0ms)
38057
+ Completed 200 OK in 0ms (Views: 0.2ms)
38058
+ ------------------------------------
38059
+ Cogy::CommandTest: test_calc_command
38060
+ ------------------------------------
38061
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38062
+ Processing by Cogy::CogyController#command as HTML
38063
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
38064
+ Rendered text template (0.0ms)
38065
+ Completed 200 OK in 0ms (Views: 0.2ms)
38066
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38067
+ Processing by Cogy::CogyController#command as HTML
38068
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
38069
+ Rendered text template (0.0ms)
38070
+ Completed 200 OK in 0ms (Views: 0.2ms)
38071
+ -------------------------------------------------------------
38072
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
38073
+ -------------------------------------------------------------
38074
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38075
+ Processing by Cogy::CogyController#command as HTML
38076
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
38077
+ Rendered text template (0.0ms)
38078
+ Completed 200 OK in 0ms (Views: 0.2ms)
38079
+ -----------------------------------------
38080
+ Cogy::CommandTest: test_rails_url_helpers
38081
+ -----------------------------------------
38082
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38083
+ Processing by Cogy::CogyController#command as HTML
38084
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
38085
+ Rendered text template (0.0ms)
38086
+ Completed 200 OK in 1ms (Views: 0.3ms)
38087
+ ---------------------------------
38088
+ Cogy::CommandTest: test_list_opts
38089
+ ---------------------------------
38090
+ Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38091
+ Processing by Cogy::CogyController#command as HTML
38092
+ Parameters: {"COG_OPT_FLAVOR_0"=>"foo", "COG_OPT_FLAVOR_1"=>"baz", "COG_OPT_FOO_0"=>"1", "COG_OPT_FOO_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_list_opts"}
38093
+ Rendered text template (0.0ms)
38094
+ Completed 200 OK in 1ms (Views: 0.3ms)
38095
+ ------------------------------------------------
38096
+ Cogy::CommandTest: test_invalid_opts_declaration
38097
+ ------------------------------------------------
38098
+ ------------------------------------
38099
+ Cogy::InventoryTest: test_valid_yaml
38100
+ ------------------------------------
38101
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38102
+ Processing by Cogy::CogyController#inventory as HTML
38103
+ Rendered text template (0.0ms)
38104
+ Completed 200 OK in 3ms (Views: 0.2ms)
38105
+ --------------------------------------------
38106
+ Cogy::InventoryTest: test_cog_bundle_version
38107
+ --------------------------------------------
38108
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38109
+ Processing by Cogy::CogyController#inventory as HTML
38110
+ Rendered text template (0.0ms)
38111
+ Completed 200 OK in 5ms (Views: 0.7ms)
38112
+ ------------------------------------------
38113
+ Cogy::InventoryTest: test_commands_section
38114
+ ------------------------------------------
38115
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38116
+ Processing by Cogy::CogyController#inventory as HTML
38117
+ Rendered text template (0.0ms)
38118
+ Completed 200 OK in 3ms (Views: 0.3ms)
38119
+ --------------------------------------
38120
+ Cogy::InventoryTest: test_content_type
38121
+ --------------------------------------
38122
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38123
+ Processing by Cogy::CogyController#inventory as HTML
38124
+ Rendered text template (0.0ms)
38125
+ Completed 200 OK in 3ms (Views: 0.3ms)
38126
+ -----------------------------------------------
38127
+ Cogy::InventoryTest: test_bundle_version_lambda
38128
+ -----------------------------------------------
38129
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38130
+ Processing by Cogy::CogyController#inventory as HTML
38131
+ Rendered text template (0.0ms)
38132
+ Completed 200 OK in 3ms (Views: 0.2ms)
38133
+ ------------------------------------------
38134
+ Cogy::InventoryTest: test_without_commands
38135
+ ------------------------------------------
38136
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38137
+ Processing by Cogy::CogyController#inventory as HTML
38138
+ Rendered text template (0.0ms)
38139
+ Completed 200 OK in 1ms (Views: 0.3ms)
38140
+ ----------------------------------
38141
+ Cogy::InventoryTest: test_template
38142
+ ----------------------------------
38143
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38144
+ Processing by Cogy::CogyController#inventory as HTML
38145
+ Rendered text template (0.0ms)
38146
+ Completed 200 OK in 5ms (Views: 0.6ms)
38147
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200
38148
+ Processing by Cogy::CogyController#inventory as HTML
38149
+ Rendered text template (0.0ms)
38150
+ Completed 200 OK in 6ms (Views: 0.6ms)
38151
+ -------------------------------------------------------------
38152
+ Cogy::JsonResponseTest: test_json_output_and_default_template
38153
+ -------------------------------------------------------------
38154
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38155
+ Processing by Cogy::CogyController#command as HTML
38156
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
38157
+ Rendered text template (0.0ms)
38158
+ Completed 200 OK in 6ms (Views: 6.1ms)
38159
+ --------------------------------------------
38160
+ Cogy::JsonResponseTest: test_custom_template
38161
+ --------------------------------------------
38162
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38163
+ Processing by Cogy::CogyController#command as HTML
38164
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
38165
+ Rendered text template (0.0ms)
38166
+ Completed 200 OK in 0ms (Views: 0.2ms)
38167
+ ----------------------------------------------------
38168
+ Cogy::HelpersTest: test_custom_helper_with_arguments
38169
+ ----------------------------------------------------
38170
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38171
+ Processing by Cogy::CogyController#command as HTML
38172
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
38173
+ Rendered text template (0.0ms)
38174
+ Completed 200 OK in 0ms (Views: 0.2ms)
38175
+ -----------------------------------------------------------------
38176
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
38177
+ -----------------------------------------------------------------
38178
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38179
+ Processing by Cogy::CogyController#command as HTML
38180
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
38181
+ Rendered text template (0.0ms)
38182
+ Completed 200 OK in 0ms (Views: 0.2ms)
38183
+ ----------------------------------------------------
38184
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
38185
+ ----------------------------------------------------
38186
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38187
+ Processing by Cogy::CogyController#command as HTML
38188
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
38189
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms)
38190
+ Completed 500 Internal Server Error in 3ms (Views: 2.9ms)
38191
+ ------------------------------------------------
38192
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
38193
+ ------------------------------------------------
38194
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38195
+ Processing by Cogy::CogyController#command as HTML
38196
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
38197
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
38198
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
38199
+ -----------------------------------------------
38200
+ Cogy::InventoryTest: test_bundle_version_lambda
38201
+ -----------------------------------------------
38202
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38203
+ Processing by Cogy::CogyController#inventory as HTML
38204
+ Rendered text template (0.0ms)
38205
+ Completed 200 OK in 3ms (Views: 0.3ms)
38206
+ ----------------------------------
38207
+ Cogy::InventoryTest: test_template
38208
+ ----------------------------------
38209
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38210
+ Processing by Cogy::CogyController#inventory as HTML
38211
+ Rendered text template (0.0ms)
38212
+ Completed 200 OK in 3ms (Views: 0.2ms)
38213
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38214
+ Processing by Cogy::CogyController#inventory as HTML
38215
+ Rendered text template (0.0ms)
38216
+ Completed 200 OK in 3ms (Views: 0.2ms)
38217
+ --------------------------------------
38218
+ Cogy::InventoryTest: test_content_type
38219
+ --------------------------------------
38220
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38221
+ Processing by Cogy::CogyController#inventory as HTML
38222
+ Rendered text template (0.0ms)
38223
+ Completed 200 OK in 3ms (Views: 0.4ms)
38224
+ ------------------------------------------
38225
+ Cogy::InventoryTest: test_without_commands
38226
+ ------------------------------------------
38227
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38228
+ Processing by Cogy::CogyController#inventory as HTML
38229
+ Rendered text template (0.0ms)
38230
+ Completed 200 OK in 1ms (Views: 0.2ms)
38231
+ ------------------------------------------
38232
+ Cogy::InventoryTest: test_commands_section
38233
+ ------------------------------------------
38234
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38235
+ Processing by Cogy::CogyController#inventory as HTML
38236
+ Rendered text template (0.0ms)
38237
+ Completed 200 OK in 3ms (Views: 0.2ms)
38238
+ --------------------------------------------
38239
+ Cogy::InventoryTest: test_cog_bundle_version
38240
+ --------------------------------------------
38241
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38242
+ Processing by Cogy::CogyController#inventory as HTML
38243
+ Rendered text template (0.0ms)
38244
+ Completed 200 OK in 3ms (Views: 0.2ms)
38245
+ ------------------------------------
38246
+ Cogy::InventoryTest: test_valid_yaml
38247
+ ------------------------------------
38248
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38249
+ Processing by Cogy::CogyController#inventory as HTML
38250
+ Rendered text template (0.0ms)
38251
+ Completed 200 OK in 3ms (Views: 0.2ms)
38252
+ --------------------------------------------------------
38253
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
38254
+ --------------------------------------------------------
38255
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38256
+ Processing by Cogy::CogyController#command as HTML
38257
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
38258
+ Rendered text template (0.0ms)
38259
+ Completed 200 OK in 0ms (Views: 0.2ms)
38260
+ -----------------------------------------------------------------------
38261
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
38262
+ -----------------------------------------------------------------------
38263
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38264
+ Processing by Cogy::CogyController#command as HTML
38265
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
38266
+ Rendered text template (0.0ms)
38267
+ Completed 200 OK in 0ms (Views: 0.2ms)
38268
+ -----------------------------------
38269
+ Cogy::BuiltinHelpersTest: test_args
38270
+ -----------------------------------
38271
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38272
+ Processing by Cogy::CogyController#command as HTML
38273
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
38274
+ Rendered text template (0.0ms)
38275
+ Completed 200 OK in 0ms (Views: 0.2ms)
38276
+ -----------------------------------------
38277
+ Cogy::CommandTest: test_rails_url_helpers
38278
+ -----------------------------------------
38279
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38280
+ Processing by Cogy::CogyController#command as HTML
38281
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
38282
+ Rendered text template (0.0ms)
38283
+ Completed 200 OK in 1ms (Views: 0.4ms)
38284
+ ------------------------------------
38285
+ Cogy::CommandTest: test_calc_command
38286
+ ------------------------------------
38287
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38288
+ Processing by Cogy::CogyController#command as HTML
38289
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
38290
+ Rendered text template (0.0ms)
38291
+ Completed 200 OK in 0ms (Views: 0.2ms)
38292
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38293
+ Processing by Cogy::CogyController#command as HTML
38294
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
38295
+ Rendered text template (0.0ms)
38296
+ Completed 200 OK in 0ms (Views: 0.2ms)
38297
+ -------------------------------------
38298
+ Cogy::CommandTest: test_args_ordering
38299
+ -------------------------------------
38300
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38301
+ Processing by Cogy::CogyController#command as HTML
38302
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
38303
+ Rendered text template (0.0ms)
38304
+ Completed 200 OK in 1ms (Views: 0.3ms)
38305
+ -----------------------------------------
38306
+ Cogy::CommandTest: test_command_not_found
38307
+ -----------------------------------------
38308
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38309
+ Processing by Cogy::CogyController#command as HTML
38310
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
38311
+ Rendered text template (0.0ms)
38312
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
38313
+ -------------------------------------------------------------
38314
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
38315
+ -------------------------------------------------------------
38316
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38317
+ Processing by Cogy::CogyController#command as HTML
38318
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
38319
+ Rendered text template (0.0ms)
38320
+ Completed 200 OK in 0ms (Views: 0.2ms)
38321
+ ---------------------------------
38322
+ Cogy::CommandTest: test_list_opts
38323
+ ---------------------------------
38324
+ Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38325
+ Processing by Cogy::CogyController#command as HTML
38326
+ Parameters: {"COG_OPT_FLAVOR_0"=>"foo", "COG_OPT_FLAVOR_1"=>"baz", "COG_OPT_FOO_0"=>"1", "COG_OPT_FOO_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_list_opts"}
38327
+ Rendered text template (0.0ms)
38328
+ Completed 200 OK in 0ms (Views: 0.2ms)
38329
+ --------------------------------
38330
+ Cogy::CommandTest: test_cogy_env
38331
+ --------------------------------
38332
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38333
+ Processing by Cogy::CogyController#command as HTML
38334
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
38335
+ Rendered text template (0.0ms)
38336
+ Completed 200 OK in 0ms (Views: 0.3ms)
38337
+ -------------------------------------------
38338
+ Cogy::CommandTest: test_error_response_code
38339
+ -------------------------------------------
38340
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:38:48 +0200
38341
+ Processing by Cogy::CogyController#command as HTML
38342
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
38343
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
38344
+ Completed 500 Internal Server Error in 1ms (Views: 0.6ms)
38345
+ ------------------------------------------------
38346
+ Cogy::CommandTest: test_invalid_opts_declaration
38347
+ ------------------------------------------------
38348
+ -------------------------------------
38349
+ Cogy::CommandTest: test_args_ordering
38350
+ -------------------------------------
38351
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 12:39:37 +0200
38352
+ Processing by Cogy::CogyController#command as HTML
38353
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
38354
+ Rendered text template (0.0ms)
38355
+ Completed 200 OK in 6ms (Views: 5.3ms)
38356
+ ------------------------------------
38357
+ Cogy::CommandTest: test_calc_command
38358
+ ------------------------------------
38359
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38360
+ Processing by Cogy::CogyController#command as HTML
38361
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
38362
+ Rendered text template (0.0ms)
38363
+ Completed 200 OK in 1ms (Views: 0.3ms)
38364
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38365
+ Processing by Cogy::CogyController#command as HTML
38366
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
38367
+ Rendered text template (0.0ms)
38368
+ Completed 200 OK in 1ms (Views: 0.2ms)
38369
+ -------------------------------------------------------------
38370
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
38371
+ -------------------------------------------------------------
38372
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38373
+ Processing by Cogy::CogyController#command as HTML
38374
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
38375
+ Rendered text template (0.0ms)
38376
+ Completed 200 OK in 0ms (Views: 0.3ms)
38377
+ -----------------------------------------
38378
+ Cogy::CommandTest: test_command_not_found
38379
+ -----------------------------------------
38380
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38381
+ Processing by Cogy::CogyController#command as HTML
38382
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
38383
+ Rendered text template (0.0ms)
38384
+ Completed 404 Not Found in 0ms (Views: 0.3ms)
38385
+ ---------------------------------
38386
+ Cogy::CommandTest: test_list_opts
38387
+ ---------------------------------
38388
+ Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38389
+ Processing by Cogy::CogyController#command as HTML
38390
+ Parameters: {"COG_OPT_FLAVOR_0"=>"foo", "COG_OPT_FLAVOR_1"=>"baz", "COG_OPT_FOO_0"=>"1", "COG_OPT_FOO_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_list_opts"}
38391
+ Rendered text template (0.0ms)
38392
+ Completed 200 OK in 0ms (Views: 0.2ms)
38393
+ -------------------------------------------
38394
+ Cogy::CommandTest: test_error_response_code
38395
+ -------------------------------------------
38396
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38397
+ Processing by Cogy::CogyController#command as HTML
38398
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
38399
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms)
38400
+ Completed 500 Internal Server Error in 3ms (Views: 3.0ms)
38401
+ -----------------------------------------
38402
+ Cogy::CommandTest: test_rails_url_helpers
38403
+ -----------------------------------------
38404
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38405
+ Processing by Cogy::CogyController#command as HTML
38406
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
38407
+ Rendered text template (0.0ms)
38408
+ Completed 200 OK in 1ms (Views: 0.5ms)
38409
+ ------------------------------------------------
38410
+ Cogy::CommandTest: test_invalid_opts_declaration
38411
+ ------------------------------------------------
38412
+ --------------------------------
38413
+ Cogy::CommandTest: test_cogy_env
38414
+ --------------------------------
38415
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38416
+ Processing by Cogy::CogyController#command as HTML
38417
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
38418
+ Rendered text template (0.0ms)
38419
+ Completed 200 OK in 0ms (Views: 0.2ms)
38420
+ --------------------------------------------
38421
+ Cogy::JsonResponseTest: test_custom_template
38422
+ --------------------------------------------
38423
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38424
+ Processing by Cogy::CogyController#command as HTML
38425
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
38426
+ Rendered text template (0.0ms)
38427
+ Completed 200 OK in 0ms (Views: 0.3ms)
38428
+ -------------------------------------------------------------
38429
+ Cogy::JsonResponseTest: test_json_output_and_default_template
38430
+ -------------------------------------------------------------
38431
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38432
+ Processing by Cogy::CogyController#command as HTML
38433
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
38434
+ Rendered text template (0.0ms)
38435
+ Completed 200 OK in 0ms (Views: 0.3ms)
38436
+ ------------------------------------
38437
+ Cogy::InventoryTest: test_valid_yaml
38438
+ ------------------------------------
38439
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38440
+ Processing by Cogy::CogyController#inventory as HTML
38441
+ Rendered text template (0.0ms)
38442
+ Completed 200 OK in 3ms (Views: 0.3ms)
38443
+ --------------------------------------------
38444
+ Cogy::InventoryTest: test_cog_bundle_version
38445
+ --------------------------------------------
38446
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38447
+ Processing by Cogy::CogyController#inventory as HTML
38448
+ Rendered text template (0.0ms)
38449
+ Completed 200 OK in 4ms (Views: 0.5ms)
38450
+ ------------------------------------------
38451
+ Cogy::InventoryTest: test_commands_section
38452
+ ------------------------------------------
38453
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38454
+ Processing by Cogy::CogyController#inventory as HTML
38455
+ Rendered text template (0.1ms)
38456
+ Completed 200 OK in 6ms (Views: 0.9ms)
38457
+ -----------------------------------------------
38458
+ Cogy::InventoryTest: test_bundle_version_lambda
38459
+ -----------------------------------------------
38460
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38461
+ Processing by Cogy::CogyController#inventory as HTML
38462
+ Rendered text template (0.0ms)
38463
+ Completed 200 OK in 6ms (Views: 0.3ms)
38464
+ ----------------------------------
38465
+ Cogy::InventoryTest: test_template
38466
+ ----------------------------------
38467
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38468
+ Processing by Cogy::CogyController#inventory as HTML
38469
+ Rendered text template (0.0ms)
38470
+ Completed 200 OK in 3ms (Views: 0.3ms)
38471
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38472
+ Processing by Cogy::CogyController#inventory as HTML
38473
+ Rendered text template (0.0ms)
38474
+ Completed 200 OK in 3ms (Views: 0.2ms)
38475
+ --------------------------------------
38476
+ Cogy::InventoryTest: test_content_type
38477
+ --------------------------------------
38478
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38479
+ Processing by Cogy::CogyController#inventory as HTML
38480
+ Rendered text template (0.0ms)
38481
+ Completed 200 OK in 3ms (Views: 0.3ms)
38482
+ ------------------------------------------
38483
+ Cogy::InventoryTest: test_without_commands
38484
+ ------------------------------------------
38485
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38486
+ Processing by Cogy::CogyController#inventory as HTML
38487
+ Rendered text template (0.0ms)
38488
+ Completed 200 OK in 1ms (Views: 0.2ms)
38489
+ ----------------------------------------------------
38490
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
38491
+ ----------------------------------------------------
38492
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38493
+ Processing by Cogy::CogyController#command as HTML
38494
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
38495
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
38496
+ Completed 500 Internal Server Error in 1ms (Views: 0.5ms)
38497
+ ------------------------------------------------
38498
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
38499
+ ------------------------------------------------
38500
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38501
+ Processing by Cogy::CogyController#command as HTML
38502
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
38503
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
38504
+ Completed 500 Internal Server Error in 1ms (Views: 0.9ms)
38505
+ --------------------------------------------------------
38506
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
38507
+ --------------------------------------------------------
38508
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38509
+ Processing by Cogy::CogyController#command as HTML
38510
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
38511
+ Rendered text template (0.0ms)
38512
+ Completed 200 OK in 0ms (Views: 0.2ms)
38513
+ -----------------------------------
38514
+ Cogy::BuiltinHelpersTest: test_args
38515
+ -----------------------------------
38516
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38517
+ Processing by Cogy::CogyController#command as HTML
38518
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
38519
+ Rendered text template (0.0ms)
38520
+ Completed 200 OK in 0ms (Views: 0.3ms)
38521
+ -----------------------------------------------------------------------
38522
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
38523
+ -----------------------------------------------------------------------
38524
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38525
+ Processing by Cogy::CogyController#command as HTML
38526
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
38527
+ Rendered text template (0.0ms)
38528
+ Completed 200 OK in 0ms (Views: 0.2ms)
38529
+ ----------------------------------------------------
38530
+ Cogy::HelpersTest: test_custom_helper_with_arguments
38531
+ ----------------------------------------------------
38532
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38533
+ Processing by Cogy::CogyController#command as HTML
38534
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
38535
+ Rendered text template (0.0ms)
38536
+ Completed 200 OK in 1ms (Views: 0.3ms)
38537
+ -----------------------------------------------------------------
38538
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
38539
+ -----------------------------------------------------------------
38540
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 12:39:38 +0200
38541
+ Processing by Cogy::CogyController#command as HTML
38542
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
38543
+ Rendered text template (0.0ms)
38544
+ Completed 200 OK in 1ms (Views: 0.3ms)
38545
+ -----------------------------------
38546
+ Cogy::BuiltinHelpersTest: test_args
38547
+ -----------------------------------
38548
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38549
+ Processing by Cogy::CogyController#command as HTML
38550
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
38551
+ Rendered text template (0.0ms)
38552
+ Completed 200 OK in 5ms (Views: 5.2ms)
38553
+ --------------------------------------------------------
38554
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
38555
+ --------------------------------------------------------
38556
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38557
+ Processing by Cogy::CogyController#command as HTML
38558
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
38559
+ Rendered text template (0.0ms)
38560
+ Completed 200 OK in 0ms (Views: 0.2ms)
38561
+ -----------------------------------------------------------------------
38562
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
38563
+ -----------------------------------------------------------------------
38564
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38565
+ Processing by Cogy::CogyController#command as HTML
38566
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
38567
+ Rendered text template (0.0ms)
38568
+ Completed 200 OK in 0ms (Views: 0.2ms)
38569
+ -----------------------------------------------------------------
38570
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
38571
+ -----------------------------------------------------------------
38572
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38573
+ Processing by Cogy::CogyController#command as HTML
38574
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
38575
+ Rendered text template (0.0ms)
38576
+ Completed 200 OK in 0ms (Views: 0.2ms)
38577
+ ----------------------------------------------------
38578
+ Cogy::HelpersTest: test_custom_helper_with_arguments
38579
+ ----------------------------------------------------
38580
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38581
+ Processing by Cogy::CogyController#command as HTML
38582
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
38583
+ Rendered text template (0.0ms)
38584
+ Completed 200 OK in 0ms (Views: 0.2ms)
38585
+ ----------------------------------------------------
38586
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
38587
+ ----------------------------------------------------
38588
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38589
+ Processing by Cogy::CogyController#command as HTML
38590
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
38591
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.2ms)
38592
+ Completed 500 Internal Server Error in 3ms (Views: 3.0ms)
38593
+ ------------------------------------------------
38594
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
38595
+ ------------------------------------------------
38596
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38597
+ Processing by Cogy::CogyController#command as HTML
38598
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
38599
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
38600
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
38601
+ -----------------------------------------
38602
+ Cogy::CommandTest: test_command_not_found
38603
+ -----------------------------------------
38604
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38605
+ Processing by Cogy::CogyController#command as HTML
38606
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
38607
+ Rendered text template (0.0ms)
38608
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
38609
+ --------------------------------
38610
+ Cogy::CommandTest: test_cogy_env
38611
+ --------------------------------
38612
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38613
+ Processing by Cogy::CogyController#command as HTML
38614
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
38615
+ Rendered text template (0.0ms)
38616
+ Completed 200 OK in 0ms (Views: 0.2ms)
38617
+ -----------------------------------------
38618
+ Cogy::CommandTest: test_rails_url_helpers
38619
+ -----------------------------------------
38620
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38621
+ Processing by Cogy::CogyController#command as HTML
38622
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
38623
+ Rendered text template (0.0ms)
38624
+ Completed 200 OK in 1ms (Views: 0.3ms)
38625
+ -------------------------------------------
38626
+ Cogy::CommandTest: test_error_response_code
38627
+ -------------------------------------------
38628
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38629
+ Processing by Cogy::CogyController#command as HTML
38630
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
38631
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.0ms)
38632
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
38633
+ ------------------------------------
38634
+ Cogy::CommandTest: test_calc_command
38635
+ ------------------------------------
38636
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38637
+ Processing by Cogy::CogyController#command as HTML
38638
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
38639
+ Rendered text template (0.0ms)
38640
+ Completed 200 OK in 0ms (Views: 0.2ms)
38641
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38642
+ Processing by Cogy::CogyController#command as HTML
38643
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
38644
+ Rendered text template (0.0ms)
38645
+ Completed 200 OK in 0ms (Views: 0.2ms)
38646
+ ------------------------------------------------
38647
+ Cogy::CommandTest: test_invalid_opts_declaration
38648
+ ------------------------------------------------
38649
+ -------------------------------------
38650
+ Cogy::CommandTest: test_args_ordering
38651
+ -------------------------------------
38652
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38653
+ Processing by Cogy::CogyController#command as HTML
38654
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
38655
+ Rendered text template (0.0ms)
38656
+ Completed 200 OK in 0ms (Views: 0.2ms)
38657
+ -------------------------------------------------------------
38658
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
38659
+ -------------------------------------------------------------
38660
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38661
+ Processing by Cogy::CogyController#command as HTML
38662
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
38663
+ Rendered text template (0.0ms)
38664
+ Completed 200 OK in 0ms (Views: 0.3ms)
38665
+ ---------------------------------
38666
+ Cogy::CommandTest: test_list_opts
38667
+ ---------------------------------
38668
+ Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38669
+ Processing by Cogy::CogyController#command as HTML
38670
+ Parameters: {"COG_OPT_FLAVOR_0"=>"foo", "COG_OPT_FLAVOR_1"=>"baz", "COG_OPT_FOO_0"=>"1", "COG_OPT_FOO_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_list_opts"}
38671
+ Rendered text template (0.0ms)
38672
+ Completed 200 OK in 0ms (Views: 0.2ms)
38673
+ --------------------------------------------
38674
+ Cogy::JsonResponseTest: test_custom_template
38675
+ --------------------------------------------
38676
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38677
+ Processing by Cogy::CogyController#command as HTML
38678
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
38679
+ Rendered text template (0.0ms)
38680
+ Completed 200 OK in 1ms (Views: 0.3ms)
38681
+ -------------------------------------------------------------
38682
+ Cogy::JsonResponseTest: test_json_output_and_default_template
38683
+ -------------------------------------------------------------
38684
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38685
+ Processing by Cogy::CogyController#command as HTML
38686
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
38687
+ Rendered text template (0.0ms)
38688
+ Completed 200 OK in 0ms (Views: 0.2ms)
38689
+ -----------------------------------------------
38690
+ Cogy::InventoryTest: test_bundle_version_lambda
38691
+ -----------------------------------------------
38692
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38693
+ Processing by Cogy::CogyController#inventory as HTML
38694
+ Rendered text template (0.0ms)
38695
+ Completed 200 OK in 6ms (Views: 0.5ms)
38696
+ --------------------------------------
38697
+ Cogy::InventoryTest: test_content_type
38698
+ --------------------------------------
38699
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38700
+ Processing by Cogy::CogyController#inventory as HTML
38701
+ Rendered text template (0.0ms)
38702
+ Completed 200 OK in 3ms (Views: 0.3ms)
38703
+ ------------------------------------
38704
+ Cogy::InventoryTest: test_valid_yaml
38705
+ ------------------------------------
38706
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38707
+ Processing by Cogy::CogyController#inventory as HTML
38708
+ Rendered text template (0.0ms)
38709
+ Completed 200 OK in 3ms (Views: 0.2ms)
38710
+ ------------------------------------------
38711
+ Cogy::InventoryTest: test_commands_section
38712
+ ------------------------------------------
38713
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38714
+ Processing by Cogy::CogyController#inventory as HTML
38715
+ Rendered text template (0.0ms)
38716
+ Completed 200 OK in 3ms (Views: 0.2ms)
38717
+ ------------------------------------------
38718
+ Cogy::InventoryTest: test_without_commands
38719
+ ------------------------------------------
38720
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38721
+ Processing by Cogy::CogyController#inventory as HTML
38722
+ Rendered text template (0.0ms)
38723
+ Completed 200 OK in 1ms (Views: 0.3ms)
38724
+ --------------------------------------------
38725
+ Cogy::InventoryTest: test_cog_bundle_version
38726
+ --------------------------------------------
38727
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38728
+ Processing by Cogy::CogyController#inventory as HTML
38729
+ Rendered text template (0.0ms)
38730
+ Completed 200 OK in 7ms (Views: 0.7ms)
38731
+ ----------------------------------
38732
+ Cogy::InventoryTest: test_template
38733
+ ----------------------------------
38734
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:04 +0200
38735
+ Processing by Cogy::CogyController#inventory as HTML
38736
+ Rendered text template (0.0ms)
38737
+ Completed 200 OK in 4ms (Views: 0.3ms)
38738
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:05 +0200
38739
+ Processing by Cogy::CogyController#inventory as HTML
38740
+ Rendered text template (0.0ms)
38741
+ Completed 200 OK in 3ms (Views: 0.2ms)
38742
+ -----------------------------------
38743
+ Cogy::BuiltinHelpersTest: test_args
38744
+ -----------------------------------
38745
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38746
+ Processing by Cogy::CogyController#command as HTML
38747
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
38748
+ Rendered text template (0.0ms)
38749
+ Completed 200 OK in 7ms (Views: 6.7ms)
38750
+ --------------------------------------------------------
38751
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
38752
+ --------------------------------------------------------
38753
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38754
+ Processing by Cogy::CogyController#command as HTML
38755
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
38756
+ Rendered text template (0.0ms)
38757
+ Completed 200 OK in 0ms (Views: 0.2ms)
38758
+ -----------------------------------------------------------------------
38759
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
38760
+ -----------------------------------------------------------------------
38761
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38762
+ Processing by Cogy::CogyController#command as HTML
38763
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
38764
+ Rendered text template (0.0ms)
38765
+ Completed 200 OK in 0ms (Views: 0.2ms)
38766
+ -------------------------------------------------------------
38767
+ Cogy::JsonResponseTest: test_json_output_and_default_template
38768
+ -------------------------------------------------------------
38769
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38770
+ Processing by Cogy::CogyController#command as HTML
38771
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
38772
+ Rendered text template (0.0ms)
38773
+ Completed 200 OK in 0ms (Views: 0.2ms)
38774
+ --------------------------------------------
38775
+ Cogy::JsonResponseTest: test_custom_template
38776
+ --------------------------------------------
38777
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38778
+ Processing by Cogy::CogyController#command as HTML
38779
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
38780
+ Rendered text template (0.0ms)
38781
+ Completed 200 OK in 0ms (Views: 0.2ms)
38782
+ ----------------------------------------------------
38783
+ Cogy::HelpersTest: test_custom_helper_with_arguments
38784
+ ----------------------------------------------------
38785
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38786
+ Processing by Cogy::CogyController#command as HTML
38787
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
38788
+ Rendered text template (0.0ms)
38789
+ Completed 200 OK in 0ms (Views: 0.3ms)
38790
+ -----------------------------------------------------------------
38791
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
38792
+ -----------------------------------------------------------------
38793
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38794
+ Processing by Cogy::CogyController#command as HTML
38795
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
38796
+ Rendered text template (0.0ms)
38797
+ Completed 200 OK in 0ms (Views: 0.2ms)
38798
+ ------------------------------------------------
38799
+ Cogy::CommandTest: test_invalid_opts_declaration
38800
+ ------------------------------------------------
38801
+ -------------------------------------------------------------
38802
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
38803
+ -------------------------------------------------------------
38804
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38805
+ Processing by Cogy::CogyController#command as HTML
38806
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
38807
+ Rendered text template (0.0ms)
38808
+ Completed 200 OK in 0ms (Views: 0.2ms)
38809
+ --------------------------------
38810
+ Cogy::CommandTest: test_cogy_env
38811
+ --------------------------------
38812
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38813
+ Processing by Cogy::CogyController#command as HTML
38814
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
38815
+ Rendered text template (0.0ms)
38816
+ Completed 200 OK in 0ms (Views: 0.2ms)
38817
+ -------------------------------------
38818
+ Cogy::CommandTest: test_args_ordering
38819
+ -------------------------------------
38820
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38821
+ Processing by Cogy::CogyController#command as HTML
38822
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
38823
+ Rendered text template (0.0ms)
38824
+ Completed 200 OK in 0ms (Views: 0.2ms)
38825
+ -----------------------------------------
38826
+ Cogy::CommandTest: test_command_not_found
38827
+ -----------------------------------------
38828
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38829
+ Processing by Cogy::CogyController#command as HTML
38830
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
38831
+ Rendered text template (0.0ms)
38832
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
38833
+ -------------------------------------------
38834
+ Cogy::CommandTest: test_error_response_code
38835
+ -------------------------------------------
38836
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38837
+ Processing by Cogy::CogyController#command as HTML
38838
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
38839
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.4ms)
38840
+ Completed 500 Internal Server Error in 7ms (Views: 6.4ms)
38841
+ ------------------------------------
38842
+ Cogy::CommandTest: test_calc_command
38843
+ ------------------------------------
38844
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38845
+ Processing by Cogy::CogyController#command as HTML
38846
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
38847
+ Rendered text template (0.0ms)
38848
+ Completed 200 OK in 0ms (Views: 0.3ms)
38849
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38850
+ Processing by Cogy::CogyController#command as HTML
38851
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
38852
+ Rendered text template (0.0ms)
38853
+ Completed 200 OK in 0ms (Views: 0.2ms)
38854
+ -----------------------------------------
38855
+ Cogy::CommandTest: test_rails_url_helpers
38856
+ -----------------------------------------
38857
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38858
+ Processing by Cogy::CogyController#command as HTML
38859
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
38860
+ Rendered text template (0.0ms)
38861
+ Completed 200 OK in 1ms (Views: 0.2ms)
38862
+ ------------------------------------------
38863
+ Cogy::InventoryTest: test_commands_section
38864
+ ------------------------------------------
38865
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38866
+ Processing by Cogy::CogyController#inventory as HTML
38867
+ Rendered text template (0.0ms)
38868
+ Completed 200 OK in 3ms (Views: 0.2ms)
38869
+ ------------------------------------------
38870
+ Cogy::InventoryTest: test_without_commands
38871
+ ------------------------------------------
38872
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38873
+ Processing by Cogy::CogyController#inventory as HTML
38874
+ Rendered text template (0.0ms)
38875
+ Completed 200 OK in 1ms (Views: 0.2ms)
38876
+ -----------------------------------------------
38877
+ Cogy::InventoryTest: test_bundle_version_lambda
38878
+ -----------------------------------------------
38879
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38880
+ Processing by Cogy::CogyController#inventory as HTML
38881
+ Rendered text template (0.0ms)
38882
+ Completed 200 OK in 2ms (Views: 0.2ms)
38883
+ ------------------------------------
38884
+ Cogy::InventoryTest: test_valid_yaml
38885
+ ------------------------------------
38886
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38887
+ Processing by Cogy::CogyController#inventory as HTML
38888
+ Rendered text template (0.0ms)
38889
+ Completed 200 OK in 2ms (Views: 0.2ms)
38890
+ ----------------------------------
38891
+ Cogy::InventoryTest: test_template
38892
+ ----------------------------------
38893
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38894
+ Processing by Cogy::CogyController#inventory as HTML
38895
+ Rendered text template (0.0ms)
38896
+ Completed 200 OK in 3ms (Views: 0.2ms)
38897
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38898
+ Processing by Cogy::CogyController#inventory as HTML
38899
+ Rendered text template (0.0ms)
38900
+ Completed 200 OK in 2ms (Views: 0.2ms)
38901
+ --------------------------------------------
38902
+ Cogy::InventoryTest: test_cog_bundle_version
38903
+ --------------------------------------------
38904
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38905
+ Processing by Cogy::CogyController#inventory as HTML
38906
+ Rendered text template (0.0ms)
38907
+ Completed 200 OK in 3ms (Views: 0.4ms)
38908
+ --------------------------------------
38909
+ Cogy::InventoryTest: test_content_type
38910
+ --------------------------------------
38911
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38912
+ Processing by Cogy::CogyController#inventory as HTML
38913
+ Rendered text template (0.0ms)
38914
+ Completed 200 OK in 6ms (Views: 0.3ms)
38915
+ ----------------------------------------------------
38916
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
38917
+ ----------------------------------------------------
38918
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38919
+ Processing by Cogy::CogyController#command as HTML
38920
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
38921
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
38922
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
38923
+ ------------------------------------------------
38924
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
38925
+ ------------------------------------------------
38926
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 16:54:00 +0200
38927
+ Processing by Cogy::CogyController#command as HTML
38928
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
38929
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
38930
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
38931
+ -----------------------------------------
38932
+ Cogy::CommandTest: test_command_not_found
38933
+ -----------------------------------------
38934
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
38935
+ Processing by Cogy::CogyController#command as HTML
38936
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
38937
+ Rendered text template (0.0ms)
38938
+ Completed 404 Not Found in 8ms (Views: 7.9ms)
38939
+ ------------------------------------
38940
+ Cogy::CommandTest: test_calc_command
38941
+ ------------------------------------
38942
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
38943
+ Processing by Cogy::CogyController#command as HTML
38944
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
38945
+ Rendered text template (0.0ms)
38946
+ Completed 200 OK in 0ms (Views: 0.2ms)
38947
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
38948
+ Processing by Cogy::CogyController#command as HTML
38949
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
38950
+ Rendered text template (0.0ms)
38951
+ Completed 200 OK in 0ms (Views: 0.2ms)
38952
+ --------------------------------
38953
+ Cogy::CommandTest: test_cogy_env
38954
+ --------------------------------
38955
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
38956
+ Processing by Cogy::CogyController#command as HTML
38957
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
38958
+ Rendered text template (0.0ms)
38959
+ Completed 200 OK in 0ms (Views: 0.2ms)
38960
+ -----------------------------------------
38961
+ Cogy::CommandTest: test_rails_url_helpers
38962
+ -----------------------------------------
38963
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
38964
+ Processing by Cogy::CogyController#command as HTML
38965
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
38966
+ Rendered text template (0.0ms)
38967
+ Completed 200 OK in 1ms (Views: 0.3ms)
38968
+ -------------------------------------
38969
+ Cogy::CommandTest: test_args_ordering
38970
+ -------------------------------------
38971
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
38972
+ Processing by Cogy::CogyController#command as HTML
38973
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
38974
+ Rendered text template (0.0ms)
38975
+ Completed 200 OK in 1ms (Views: 0.3ms)
38976
+ -------------------------------------------------------------
38977
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
38978
+ -------------------------------------------------------------
38979
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
38980
+ Processing by Cogy::CogyController#command as HTML
38981
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
38982
+ Rendered text template (0.0ms)
38983
+ Completed 200 OK in 0ms (Views: 0.2ms)
38984
+ ------------------------------------------------
38985
+ Cogy::CommandTest: test_invalid_opts_declaration
38986
+ ------------------------------------------------
38987
+ -------------------------------------------
38988
+ Cogy::CommandTest: test_error_response_code
38989
+ -------------------------------------------
38990
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
38991
+ Processing by Cogy::CogyController#command as HTML
38992
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
38993
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (2.5ms)
38994
+ Completed 500 Internal Server Error in 6ms (Views: 5.3ms)
38995
+ ----------------------------------------------------
38996
+ Cogy::HelpersTest: test_custom_helper_with_arguments
38997
+ ----------------------------------------------------
38998
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
38999
+ Processing by Cogy::CogyController#command as HTML
39000
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
39001
+ Rendered text template (0.0ms)
39002
+ Completed 200 OK in 0ms (Views: 0.2ms)
39003
+ -----------------------------------------------------------------
39004
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
39005
+ -----------------------------------------------------------------
39006
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
39007
+ Processing by Cogy::CogyController#command as HTML
39008
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
39009
+ Rendered text template (0.0ms)
39010
+ Completed 200 OK in 0ms (Views: 0.2ms)
39011
+ ----------------------------------------------------
39012
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
39013
+ ----------------------------------------------------
39014
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
39015
+ Processing by Cogy::CogyController#command as HTML
39016
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
39017
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
39018
+ Completed 500 Internal Server Error in 1ms (Views: 0.3ms)
39019
+ ------------------------------------------------
39020
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
39021
+ ------------------------------------------------
39022
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
39023
+ Processing by Cogy::CogyController#command as HTML
39024
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
39025
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
39026
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
39027
+ --------------------------------------------
39028
+ Cogy::InventoryTest: test_cog_bundle_version
39029
+ --------------------------------------------
39030
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
39031
+ Processing by Cogy::CogyController#inventory as HTML
39032
+ Rendered text template (0.0ms)
39033
+ Completed 200 OK in 4ms (Views: 0.3ms)
39034
+ -----------------------------------------------
39035
+ Cogy::InventoryTest: test_bundle_version_lambda
39036
+ -----------------------------------------------
39037
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
39038
+ Processing by Cogy::CogyController#inventory as HTML
39039
+ Rendered text template (0.0ms)
39040
+ Completed 200 OK in 3ms (Views: 0.2ms)
39041
+ ----------------------------------
39042
+ Cogy::InventoryTest: test_template
39043
+ ----------------------------------
39044
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
39045
+ Processing by Cogy::CogyController#inventory as HTML
39046
+ Rendered text template (0.0ms)
39047
+ Completed 200 OK in 3ms (Views: 0.3ms)
39048
+ -------------------------------------------
39049
+ Cogy::InventoryTest: test_env_var_injection
39050
+ -------------------------------------------
39051
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
39052
+ Processing by Cogy::CogyController#inventory as HTML
39053
+ Rendered text template (0.0ms)
39054
+ Completed 200 OK in 3ms (Views: 0.3ms)
39055
+ --------------------------------------
39056
+ Cogy::InventoryTest: test_content_type
39057
+ --------------------------------------
39058
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:36 +0200
39059
+ Processing by Cogy::CogyController#inventory as HTML
39060
+ Rendered text template (0.0ms)
39061
+ Completed 200 OK in 4ms (Views: 0.4ms)
39062
+ ------------------------------------------
39063
+ Cogy::InventoryTest: test_commands_section
39064
+ ------------------------------------------
39065
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:37 +0200
39066
+ Processing by Cogy::CogyController#inventory as HTML
39067
+ Rendered text template (0.0ms)
39068
+ Completed 200 OK in 4ms (Views: 0.2ms)
39069
+ ------------------------------------
39070
+ Cogy::InventoryTest: test_valid_yaml
39071
+ ------------------------------------
39072
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:37 +0200
39073
+ Processing by Cogy::CogyController#inventory as HTML
39074
+ Rendered text template (0.0ms)
39075
+ Completed 200 OK in 4ms (Views: 0.3ms)
39076
+ ------------------------------------------
39077
+ Cogy::InventoryTest: test_without_commands
39078
+ ------------------------------------------
39079
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:37 +0200
39080
+ Processing by Cogy::CogyController#inventory as HTML
39081
+ Rendered text template (0.0ms)
39082
+ Completed 200 OK in 1ms (Views: 0.2ms)
39083
+ -----------------------------------
39084
+ Cogy::BuiltinHelpersTest: test_args
39085
+ -----------------------------------
39086
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-01-25 13:16:37 +0200
39087
+ Processing by Cogy::CogyController#command as HTML
39088
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
39089
+ Rendered text template (0.0ms)
39090
+ Completed 200 OK in 0ms (Views: 0.2ms)
39091
+ -----------------------------------------------------------------------
39092
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
39093
+ -----------------------------------------------------------------------
39094
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-01-25 13:16:37 +0200
39095
+ Processing by Cogy::CogyController#command as HTML
39096
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
39097
+ Rendered text template (0.0ms)
39098
+ Completed 200 OK in 0ms (Views: 0.2ms)
39099
+ --------------------------------------------------------
39100
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
39101
+ --------------------------------------------------------
39102
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-01-25 13:16:37 +0200
39103
+ Processing by Cogy::CogyController#command as HTML
39104
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
39105
+ Rendered text template (0.0ms)
39106
+ Completed 200 OK in 0ms (Views: 0.2ms)
39107
+ --------------------------------------------
39108
+ Cogy::JsonResponseTest: test_custom_template
39109
+ --------------------------------------------
39110
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-01-25 13:16:37 +0200
39111
+ Processing by Cogy::CogyController#command as HTML
39112
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
39113
+ Rendered text template (0.0ms)
39114
+ Completed 200 OK in 0ms (Views: 0.2ms)
39115
+ -------------------------------------------------------------
39116
+ Cogy::JsonResponseTest: test_json_output_and_default_template
39117
+ -------------------------------------------------------------
39118
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-01-25 13:16:37 +0200
39119
+ Processing by Cogy::CogyController#command as HTML
39120
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
39121
+ Rendered text template (0.0ms)
39122
+ Completed 200 OK in 0ms (Views: 0.3ms)
39123
+ --------------------------------------
39124
+ Cogy::InventoryTest: test_content_type
39125
+ --------------------------------------
39126
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39127
+ Processing by Cogy::CogyController#inventory as HTML
39128
+ Rendered text template (0.0ms)
39129
+ Completed 200 OK in 13ms (Views: 7.3ms)
39130
+ ------------------------------------------
39131
+ Cogy::InventoryTest: test_without_commands
39132
+ ------------------------------------------
39133
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39134
+ Processing by Cogy::CogyController#inventory as HTML
39135
+ Rendered text template (0.0ms)
39136
+ Completed 200 OK in 1ms (Views: 0.2ms)
39137
+ ------------------------------------------
39138
+ Cogy::InventoryTest: test_commands_section
39139
+ ------------------------------------------
39140
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39141
+ Processing by Cogy::CogyController#inventory as HTML
39142
+ Rendered text template (0.0ms)
39143
+ Completed 200 OK in 3ms (Views: 0.3ms)
39144
+ --------------------------------------------
39145
+ Cogy::InventoryTest: test_cog_bundle_version
39146
+ --------------------------------------------
39147
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39148
+ Processing by Cogy::CogyController#inventory as HTML
39149
+ Rendered text template (0.0ms)
39150
+ Completed 200 OK in 3ms (Views: 0.2ms)
39151
+ -----------------------------------------------
39152
+ Cogy::InventoryTest: test_bundle_version_lambda
39153
+ -----------------------------------------------
39154
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39155
+ Processing by Cogy::CogyController#inventory as HTML
39156
+ Rendered text template (0.0ms)
39157
+ Completed 200 OK in 3ms (Views: 0.2ms)
39158
+ ------------------------------------
39159
+ Cogy::InventoryTest: test_valid_yaml
39160
+ ------------------------------------
39161
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39162
+ Processing by Cogy::CogyController#inventory as HTML
39163
+ Rendered text template (0.0ms)
39164
+ Completed 200 OK in 3ms (Views: 0.2ms)
39165
+ ----------------------------------
39166
+ Cogy::InventoryTest: test_template
39167
+ ----------------------------------
39168
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39169
+ Processing by Cogy::CogyController#inventory as HTML
39170
+ Rendered text template (0.0ms)
39171
+ Completed 200 OK in 3ms (Views: 0.2ms)
39172
+ ------------------------------------
39173
+ Cogy::CommandTest: test_calc_command
39174
+ ------------------------------------
39175
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39176
+ Processing by Cogy::CogyController#command as HTML
39177
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
39178
+ Rendered text template (0.0ms)
39179
+ Completed 200 OK in 0ms (Views: 0.2ms)
39180
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39181
+ Processing by Cogy::CogyController#command as HTML
39182
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
39183
+ Rendered text template (0.0ms)
39184
+ Completed 200 OK in 0ms (Views: 0.2ms)
39185
+ ------------------------------------------------
39186
+ Cogy::CommandTest: test_invalid_opts_declaration
39187
+ ------------------------------------------------
39188
+ -------------------------------------------
39189
+ Cogy::CommandTest: test_error_response_code
39190
+ -------------------------------------------
39191
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39192
+ Processing by Cogy::CogyController#command as HTML
39193
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
39194
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.4ms)
39195
+ Completed 500 Internal Server Error in 5ms (Views: 4.5ms)
39196
+ -------------------------------------
39197
+ Cogy::CommandTest: test_args_ordering
39198
+ -------------------------------------
39199
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39200
+ Processing by Cogy::CogyController#command as HTML
39201
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
39202
+ Rendered text template (0.0ms)
39203
+ Completed 200 OK in 0ms (Views: 0.2ms)
39204
+ -----------------------------------------
39205
+ Cogy::CommandTest: test_command_not_found
39206
+ -----------------------------------------
39207
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39208
+ Processing by Cogy::CogyController#command as HTML
39209
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
39210
+ Rendered text template (0.0ms)
39211
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
39212
+ --------------------------------
39213
+ Cogy::CommandTest: test_cogy_env
39214
+ --------------------------------
39215
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39216
+ Processing by Cogy::CogyController#command as HTML
39217
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
39218
+ Rendered text template (0.0ms)
39219
+ Completed 200 OK in 0ms (Views: 0.2ms)
39220
+ -------------------------------------------------------------
39221
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
39222
+ -------------------------------------------------------------
39223
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39224
+ Processing by Cogy::CogyController#command as HTML
39225
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
39226
+ Rendered text template (0.0ms)
39227
+ Completed 200 OK in 0ms (Views: 0.2ms)
39228
+ -----------------------------------------
39229
+ Cogy::CommandTest: test_rails_url_helpers
39230
+ -----------------------------------------
39231
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39232
+ Processing by Cogy::CogyController#command as HTML
39233
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
39234
+ Rendered text template (0.0ms)
39235
+ Completed 200 OK in 1ms (Views: 0.3ms)
39236
+ ----------------------------------------------------
39237
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
39238
+ ----------------------------------------------------
39239
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39240
+ Processing by Cogy::CogyController#command as HTML
39241
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
39242
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
39243
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
39244
+ ------------------------------------------------
39245
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
39246
+ ------------------------------------------------
39247
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39248
+ Processing by Cogy::CogyController#command as HTML
39249
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
39250
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
39251
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
39252
+ --------------------------------------------
39253
+ Cogy::JsonResponseTest: test_custom_template
39254
+ --------------------------------------------
39255
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39256
+ Processing by Cogy::CogyController#command as HTML
39257
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
39258
+ Rendered text template (0.0ms)
39259
+ Completed 200 OK in 0ms (Views: 0.2ms)
39260
+ -------------------------------------------------------------
39261
+ Cogy::JsonResponseTest: test_json_output_and_default_template
39262
+ -------------------------------------------------------------
39263
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39264
+ Processing by Cogy::CogyController#command as HTML
39265
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
39266
+ Rendered text template (0.0ms)
39267
+ Completed 200 OK in 0ms (Views: 0.2ms)
39268
+ -----------------------------------
39269
+ Cogy::BuiltinHelpersTest: test_args
39270
+ -----------------------------------
39271
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39272
+ Processing by Cogy::CogyController#command as HTML
39273
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
39274
+ Rendered text template (0.0ms)
39275
+ Completed 200 OK in 0ms (Views: 0.2ms)
39276
+ --------------------------------------------------------
39277
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
39278
+ --------------------------------------------------------
39279
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39280
+ Processing by Cogy::CogyController#command as HTML
39281
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
39282
+ Rendered text template (0.0ms)
39283
+ Completed 200 OK in 0ms (Views: 0.2ms)
39284
+ -----------------------------------------------------------------------
39285
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
39286
+ -----------------------------------------------------------------------
39287
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39288
+ Processing by Cogy::CogyController#command as HTML
39289
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
39290
+ Rendered text template (0.1ms)
39291
+ Completed 200 OK in 0ms (Views: 0.3ms)
39292
+ ----------------------------------------------------
39293
+ Cogy::HelpersTest: test_custom_helper_with_arguments
39294
+ ----------------------------------------------------
39295
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39296
+ Processing by Cogy::CogyController#command as HTML
39297
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
39298
+ Rendered text template (0.0ms)
39299
+ Completed 200 OK in 0ms (Views: 0.3ms)
39300
+ -----------------------------------------------------------------
39301
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
39302
+ -----------------------------------------------------------------
39303
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-01-25 13:19:27 +0200
39304
+ Processing by Cogy::CogyController#command as HTML
39305
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
39306
+ Rendered text template (0.0ms)
39307
+ Completed 200 OK in 0ms (Views: 0.2ms)
39308
+ --------------------------------------------
39309
+ Cogy::JsonResponseTest: test_custom_template
39310
+ --------------------------------------------
39311
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39312
+ Processing by Cogy::CogyController#command as HTML
39313
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
39314
+ Rendered text template (0.0ms)
39315
+ Completed 200 OK in 6ms (Views: 6.1ms)
39316
+ -------------------------------------------------------------
39317
+ Cogy::JsonResponseTest: test_json_output_and_default_template
39318
+ -------------------------------------------------------------
39319
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39320
+ Processing by Cogy::CogyController#command as HTML
39321
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
39322
+ Rendered text template (0.0ms)
39323
+ Completed 200 OK in 0ms (Views: 0.2ms)
39324
+ -----------------------------------
39325
+ Cogy::BuiltinHelpersTest: test_args
39326
+ -----------------------------------
39327
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39328
+ Processing by Cogy::CogyController#command as HTML
39329
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
39330
+ Rendered text template (0.0ms)
39331
+ Completed 200 OK in 0ms (Views: 0.2ms)
39332
+ -----------------------------------------------------------------------
39333
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
39334
+ -----------------------------------------------------------------------
39335
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39336
+ Processing by Cogy::CogyController#command as HTML
39337
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
39338
+ Rendered text template (0.0ms)
39339
+ Completed 200 OK in 0ms (Views: 0.2ms)
39340
+ --------------------------------------------------------
39341
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
39342
+ --------------------------------------------------------
39343
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39344
+ Processing by Cogy::CogyController#command as HTML
39345
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
39346
+ Rendered text template (0.0ms)
39347
+ Completed 200 OK in 0ms (Views: 0.2ms)
39348
+ --------------------------------
39349
+ Cogy::CommandTest: test_cogy_env
39350
+ --------------------------------
39351
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39352
+ Processing by Cogy::CogyController#command as HTML
39353
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
39354
+ Rendered text template (0.0ms)
39355
+ Completed 200 OK in 0ms (Views: 0.2ms)
39356
+ ------------------------------------
39357
+ Cogy::CommandTest: test_calc_command
39358
+ ------------------------------------
39359
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39360
+ Processing by Cogy::CogyController#command as HTML
39361
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
39362
+ Rendered text template (0.0ms)
39363
+ Completed 200 OK in 0ms (Views: 0.2ms)
39364
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39365
+ Processing by Cogy::CogyController#command as HTML
39366
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
39367
+ Rendered text template (0.0ms)
39368
+ Completed 200 OK in 0ms (Views: 0.2ms)
39369
+ -----------------------------------------
39370
+ Cogy::CommandTest: test_rails_url_helpers
39371
+ -----------------------------------------
39372
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39373
+ Processing by Cogy::CogyController#command as HTML
39374
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
39375
+ Rendered text template (0.0ms)
39376
+ Completed 200 OK in 1ms (Views: 0.2ms)
39377
+ -----------------------------------------
39378
+ Cogy::CommandTest: test_command_not_found
39379
+ -----------------------------------------
39380
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39381
+ Processing by Cogy::CogyController#command as HTML
39382
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
39383
+ Rendered text template (0.0ms)
39384
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
39385
+ -------------------------------------------
39386
+ Cogy::CommandTest: test_error_response_code
39387
+ -------------------------------------------
39388
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39389
+ Processing by Cogy::CogyController#command as HTML
39390
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
39391
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.3ms)
39392
+ Completed 500 Internal Server Error in 4ms (Views: 3.4ms)
39393
+ -------------------------------------
39394
+ Cogy::CommandTest: test_args_ordering
39395
+ -------------------------------------
39396
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39397
+ Processing by Cogy::CogyController#command as HTML
39398
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
39399
+ Rendered text template (0.0ms)
39400
+ Completed 200 OK in 0ms (Views: 0.2ms)
39401
+ -------------------------------------------------------------
39402
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
39403
+ -------------------------------------------------------------
39404
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39405
+ Processing by Cogy::CogyController#command as HTML
39406
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
39407
+ Rendered text template (0.0ms)
39408
+ Completed 200 OK in 0ms (Views: 0.2ms)
39409
+ ------------------------------------------------
39410
+ Cogy::CommandTest: test_invalid_opts_declaration
39411
+ ------------------------------------------------
39412
+ ------------------------------------
39413
+ Cogy::InventoryTest: test_valid_yaml
39414
+ ------------------------------------
39415
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39416
+ Processing by Cogy::CogyController#inventory as HTML
39417
+ Rendered text template (0.0ms)
39418
+ Completed 200 OK in 3ms (Views: 0.3ms)
39419
+ --------------------------------------------
39420
+ Cogy::InventoryTest: test_cog_bundle_version
39421
+ --------------------------------------------
39422
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39423
+ Processing by Cogy::CogyController#inventory as HTML
39424
+ Rendered text template (0.0ms)
39425
+ Completed 200 OK in 3ms (Views: 0.2ms)
39426
+ ------------------------------------------
39427
+ Cogy::InventoryTest: test_commands_section
39428
+ ------------------------------------------
39429
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39430
+ Processing by Cogy::CogyController#inventory as HTML
39431
+ Rendered text template (0.0ms)
39432
+ Completed 200 OK in 3ms (Views: 0.2ms)
39433
+ -----------------------------------------------
39434
+ Cogy::InventoryTest: test_bundle_version_lambda
39435
+ -----------------------------------------------
39436
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39437
+ Processing by Cogy::CogyController#inventory as HTML
39438
+ Rendered text template (0.0ms)
39439
+ Completed 200 OK in 3ms (Views: 0.2ms)
39440
+ ------------------------------------------
39441
+ Cogy::InventoryTest: test_without_commands
39442
+ ------------------------------------------
39443
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39444
+ Processing by Cogy::CogyController#inventory as HTML
39445
+ Rendered text template (0.0ms)
39446
+ Completed 200 OK in 1ms (Views: 0.2ms)
39447
+ ----------------------------------
39448
+ Cogy::InventoryTest: test_template
39449
+ ----------------------------------
39450
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39451
+ Processing by Cogy::CogyController#inventory as HTML
39452
+ Rendered text template (0.0ms)
39453
+ Completed 200 OK in 4ms (Views: 0.7ms)
39454
+ --------------------------------------
39455
+ Cogy::InventoryTest: test_content_type
39456
+ --------------------------------------
39457
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39458
+ Processing by Cogy::CogyController#inventory as HTML
39459
+ Rendered text template (0.0ms)
39460
+ Completed 200 OK in 3ms (Views: 0.3ms)
39461
+ ----------------------------------------------------
39462
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
39463
+ ----------------------------------------------------
39464
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39465
+ Processing by Cogy::CogyController#command as HTML
39466
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
39467
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
39468
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
39469
+ ------------------------------------------------
39470
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
39471
+ ------------------------------------------------
39472
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39473
+ Processing by Cogy::CogyController#command as HTML
39474
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
39475
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
39476
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
39477
+ -----------------------------------------------------------------
39478
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
39479
+ -----------------------------------------------------------------
39480
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39481
+ Processing by Cogy::CogyController#command as HTML
39482
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
39483
+ Rendered text template (0.0ms)
39484
+ Completed 200 OK in 0ms (Views: 0.2ms)
39485
+ ----------------------------------------------------
39486
+ Cogy::HelpersTest: test_custom_helper_with_arguments
39487
+ ----------------------------------------------------
39488
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-01-25 13:30:59 +0200
39489
+ Processing by Cogy::CogyController#command as HTML
39490
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
39491
+ Rendered text template (0.0ms)
39492
+ Completed 200 OK in 0ms (Views: 0.2ms)
39493
+ --------------------------------------------
39494
+ Cogy::JsonResponseTest: test_custom_template
39495
+ --------------------------------------------
39496
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39497
+ Processing by Cogy::CogyController#command as HTML
39498
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
39499
+ Rendered text template (0.0ms)
39500
+ Completed 200 OK in 8ms (Views: 7.7ms)
39501
+ -------------------------------------------------------------
39502
+ Cogy::JsonResponseTest: test_json_output_and_default_template
39503
+ -------------------------------------------------------------
39504
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39505
+ Processing by Cogy::CogyController#command as HTML
39506
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
39507
+ Rendered text template (0.0ms)
39508
+ Completed 200 OK in 0ms (Views: 0.2ms)
39509
+ --------------------------------------------------------
39510
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
39511
+ --------------------------------------------------------
39512
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39513
+ Processing by Cogy::CogyController#command as HTML
39514
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
39515
+ Rendered text template (0.0ms)
39516
+ Completed 200 OK in 0ms (Views: 0.2ms)
39517
+ -----------------------------------------------------------------------
39518
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
39519
+ -----------------------------------------------------------------------
39520
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39521
+ Processing by Cogy::CogyController#command as HTML
39522
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
39523
+ Rendered text template (0.0ms)
39524
+ Completed 200 OK in 0ms (Views: 0.2ms)
39525
+ -----------------------------------
39526
+ Cogy::BuiltinHelpersTest: test_args
39527
+ -----------------------------------
39528
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39529
+ Processing by Cogy::CogyController#command as HTML
39530
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
39531
+ Rendered text template (0.0ms)
39532
+ Completed 200 OK in 0ms (Views: 0.2ms)
39533
+ ------------------------------------
39534
+ Cogy::CommandTest: test_calc_command
39535
+ ------------------------------------
39536
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39537
+ Processing by Cogy::CogyController#command as HTML
39538
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
39539
+ Rendered text template (0.0ms)
39540
+ Completed 200 OK in 0ms (Views: 0.2ms)
39541
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39542
+ Processing by Cogy::CogyController#command as HTML
39543
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
39544
+ Rendered text template (0.0ms)
39545
+ Completed 200 OK in 0ms (Views: 0.2ms)
39546
+ -------------------------------------------------------------
39547
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
39548
+ -------------------------------------------------------------
39549
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39550
+ Processing by Cogy::CogyController#command as HTML
39551
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
39552
+ Rendered text template (0.0ms)
39553
+ Completed 200 OK in 0ms (Views: 0.2ms)
39554
+ -----------------------------------------
39555
+ Cogy::CommandTest: test_rails_url_helpers
39556
+ -----------------------------------------
39557
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39558
+ Processing by Cogy::CogyController#command as HTML
39559
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
39560
+ Rendered text template (0.0ms)
39561
+ Completed 200 OK in 1ms (Views: 0.4ms)
39562
+ --------------------------------
39563
+ Cogy::CommandTest: test_cogy_env
39564
+ --------------------------------
39565
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39566
+ Processing by Cogy::CogyController#command as HTML
39567
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
39568
+ Rendered text template (0.0ms)
39569
+ Completed 200 OK in 0ms (Views: 0.2ms)
39570
+ ------------------------------------------------
39571
+ Cogy::CommandTest: test_invalid_opts_declaration
39572
+ ------------------------------------------------
39573
+ -------------------------------------
39574
+ Cogy::CommandTest: test_args_ordering
39575
+ -------------------------------------
39576
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39577
+ Processing by Cogy::CogyController#command as HTML
39578
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
39579
+ Rendered text template (0.0ms)
39580
+ Completed 200 OK in 0ms (Views: 0.2ms)
39581
+ -----------------------------------------
39582
+ Cogy::CommandTest: test_command_not_found
39583
+ -----------------------------------------
39584
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39585
+ Processing by Cogy::CogyController#command as HTML
39586
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
39587
+ Rendered text template (0.0ms)
39588
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
39589
+ -------------------------------------------
39590
+ Cogy::CommandTest: test_error_response_code
39591
+ -------------------------------------------
39592
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39593
+ Processing by Cogy::CogyController#command as HTML
39594
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
39595
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.4ms)
39596
+ Completed 500 Internal Server Error in 5ms (Views: 5.2ms)
39597
+ ----------------------------------------------------
39598
+ Cogy::HelpersTest: test_custom_helper_with_arguments
39599
+ ----------------------------------------------------
39600
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39601
+ Processing by Cogy::CogyController#command as HTML
39602
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
39603
+ Rendered text template (0.0ms)
39604
+ Completed 200 OK in 0ms (Views: 0.2ms)
39605
+ -----------------------------------------------------------------
39606
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
39607
+ -----------------------------------------------------------------
39608
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39609
+ Processing by Cogy::CogyController#command as HTML
39610
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
39611
+ Rendered text template (0.0ms)
39612
+ Completed 200 OK in 0ms (Views: 0.2ms)
39613
+ -----------------------------------------------
39614
+ Cogy::InventoryTest: test_bundle_version_lambda
39615
+ -----------------------------------------------
39616
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39617
+ Processing by Cogy::CogyController#inventory as HTML
39618
+ Rendered text template (0.0ms)
39619
+ Completed 200 OK in 3ms (Views: 0.3ms)
39620
+ --------------------------------------------
39621
+ Cogy::InventoryTest: test_cog_bundle_version
39622
+ --------------------------------------------
39623
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39624
+ Processing by Cogy::CogyController#inventory as HTML
39625
+ Rendered text template (0.0ms)
39626
+ Completed 200 OK in 3ms (Views: 0.2ms)
39627
+ --------------------------------------
39628
+ Cogy::InventoryTest: test_content_type
39629
+ --------------------------------------
39630
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39631
+ Processing by Cogy::CogyController#inventory as HTML
39632
+ Rendered text template (0.0ms)
39633
+ Completed 200 OK in 4ms (Views: 0.3ms)
39634
+ ------------------------------------------
39635
+ Cogy::InventoryTest: test_commands_section
39636
+ ------------------------------------------
39637
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39638
+ Processing by Cogy::CogyController#inventory as HTML
39639
+ Rendered text template (0.0ms)
39640
+ Completed 200 OK in 3ms (Views: 0.2ms)
39641
+ ------------------------------------
39642
+ Cogy::InventoryTest: test_valid_yaml
39643
+ ------------------------------------
39644
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39645
+ Processing by Cogy::CogyController#inventory as HTML
39646
+ Rendered text template (0.0ms)
39647
+ Completed 200 OK in 4ms (Views: 0.5ms)
39648
+ ------------------------------------------
39649
+ Cogy::InventoryTest: test_without_commands
39650
+ ------------------------------------------
39651
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39652
+ Processing by Cogy::CogyController#inventory as HTML
39653
+ Rendered text template (0.0ms)
39654
+ Completed 200 OK in 1ms (Views: 0.2ms)
39655
+ ----------------------------------
39656
+ Cogy::InventoryTest: test_template
39657
+ ----------------------------------
39658
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39659
+ Processing by Cogy::CogyController#inventory as HTML
39660
+ Rendered text template (0.0ms)
39661
+ Completed 200 OK in 3ms (Views: 0.3ms)
39662
+ ----------------------------------------------------
39663
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
39664
+ ----------------------------------------------------
39665
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39666
+ Processing by Cogy::CogyController#command as HTML
39667
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
39668
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
39669
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
39670
+ ------------------------------------------------
39671
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
39672
+ ------------------------------------------------
39673
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:40:40 +0200
39674
+ Processing by Cogy::CogyController#command as HTML
39675
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
39676
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
39677
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
39678
+ ----------------------------------------------------
39679
+ Cogy::HelpersTest: test_custom_helper_with_arguments
39680
+ ----------------------------------------------------
39681
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39682
+ Processing by Cogy::CogyController#command as HTML
39683
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
39684
+ Rendered text template (0.0ms)
39685
+ Completed 200 OK in 6ms (Views: 6.2ms)
39686
+ -----------------------------------------------------------------
39687
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
39688
+ -----------------------------------------------------------------
39689
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39690
+ Processing by Cogy::CogyController#command as HTML
39691
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
39692
+ Rendered text template (0.0ms)
39693
+ Completed 200 OK in 0ms (Views: 0.2ms)
39694
+ --------------------------------------------
39695
+ Cogy::JsonResponseTest: test_custom_template
39696
+ --------------------------------------------
39697
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39698
+ Processing by Cogy::CogyController#command as HTML
39699
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
39700
+ Rendered text template (0.0ms)
39701
+ Completed 200 OK in 0ms (Views: 0.2ms)
39702
+ -------------------------------------------------------------
39703
+ Cogy::JsonResponseTest: test_json_output_and_default_template
39704
+ -------------------------------------------------------------
39705
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39706
+ Processing by Cogy::CogyController#command as HTML
39707
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
39708
+ Rendered text template (0.0ms)
39709
+ Completed 200 OK in 0ms (Views: 0.2ms)
39710
+ -----------------------------------------
39711
+ Cogy::CommandTest: test_command_not_found
39712
+ -----------------------------------------
39713
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39714
+ Processing by Cogy::CogyController#command as HTML
39715
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
39716
+ Rendered text template (0.0ms)
39717
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
39718
+ ------------------------------------------------
39719
+ Cogy::CommandTest: test_invalid_opts_declaration
39720
+ ------------------------------------------------
39721
+ --------------------------------
39722
+ Cogy::CommandTest: test_cogy_env
39723
+ --------------------------------
39724
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39725
+ Processing by Cogy::CogyController#command as HTML
39726
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
39727
+ Rendered text template (0.0ms)
39728
+ Completed 200 OK in 0ms (Views: 0.2ms)
39729
+ -------------------------------------
39730
+ Cogy::CommandTest: test_args_ordering
39731
+ -------------------------------------
39732
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39733
+ Processing by Cogy::CogyController#command as HTML
39734
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
39735
+ Rendered text template (0.0ms)
39736
+ Completed 200 OK in 0ms (Views: 0.2ms)
39737
+ -----------------------------------------
39738
+ Cogy::CommandTest: test_rails_url_helpers
39739
+ -----------------------------------------
39740
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39741
+ Processing by Cogy::CogyController#command as HTML
39742
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
39743
+ Rendered text template (0.0ms)
39744
+ Completed 200 OK in 1ms (Views: 0.3ms)
39745
+ -------------------------------------------
39746
+ Cogy::CommandTest: test_error_response_code
39747
+ -------------------------------------------
39748
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39749
+ Processing by Cogy::CogyController#command as HTML
39750
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
39751
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.3ms)
39752
+ Completed 500 Internal Server Error in 4ms (Views: 3.5ms)
39753
+ -------------------------------------------------------------
39754
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
39755
+ -------------------------------------------------------------
39756
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39757
+ Processing by Cogy::CogyController#command as HTML
39758
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
39759
+ Rendered text template (0.0ms)
39760
+ Completed 200 OK in 0ms (Views: 0.3ms)
39761
+ ------------------------------------
39762
+ Cogy::CommandTest: test_calc_command
39763
+ ------------------------------------
39764
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39765
+ Processing by Cogy::CogyController#command as HTML
39766
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
39767
+ Rendered text template (0.0ms)
39768
+ Completed 200 OK in 0ms (Views: 0.2ms)
39769
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39770
+ Processing by Cogy::CogyController#command as HTML
39771
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
39772
+ Rendered text template (0.0ms)
39773
+ Completed 200 OK in 0ms (Views: 0.2ms)
39774
+ --------------------------------------------------------
39775
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
39776
+ --------------------------------------------------------
39777
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39778
+ Processing by Cogy::CogyController#command as HTML
39779
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
39780
+ Rendered text template (0.0ms)
39781
+ Completed 200 OK in 0ms (Views: 0.2ms)
39782
+ -----------------------------------------------------------------------
39783
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
39784
+ -----------------------------------------------------------------------
39785
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39786
+ Processing by Cogy::CogyController#command as HTML
39787
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
39788
+ Rendered text template (0.0ms)
39789
+ Completed 200 OK in 1ms (Views: 1.1ms)
39790
+ -----------------------------------
39791
+ Cogy::BuiltinHelpersTest: test_args
39792
+ -----------------------------------
39793
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39794
+ Processing by Cogy::CogyController#command as HTML
39795
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
39796
+ Rendered text template (0.0ms)
39797
+ Completed 200 OK in 0ms (Views: 0.3ms)
39798
+ ----------------------------------------------------
39799
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
39800
+ ----------------------------------------------------
39801
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39802
+ Processing by Cogy::CogyController#command as HTML
39803
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
39804
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
39805
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
39806
+ ------------------------------------------------
39807
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
39808
+ ------------------------------------------------
39809
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39810
+ Processing by Cogy::CogyController#command as HTML
39811
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
39812
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
39813
+ Completed 500 Internal Server Error in 0ms (Views: 0.4ms)
39814
+ -----------------------------------------------
39815
+ Cogy::InventoryTest: test_bundle_version_lambda
39816
+ -----------------------------------------------
39817
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39818
+ Processing by Cogy::CogyController#inventory as HTML
39819
+ Rendered text template (0.0ms)
39820
+ Completed 200 OK in 3ms (Views: 0.2ms)
39821
+ ------------------------------------
39822
+ Cogy::InventoryTest: test_valid_yaml
39823
+ ------------------------------------
39824
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39825
+ Processing by Cogy::CogyController#inventory as HTML
39826
+ Rendered text template (0.0ms)
39827
+ Completed 200 OK in 3ms (Views: 0.3ms)
39828
+ --------------------------------------
39829
+ Cogy::InventoryTest: test_content_type
39830
+ --------------------------------------
39831
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39832
+ Processing by Cogy::CogyController#inventory as HTML
39833
+ Rendered text template (0.0ms)
39834
+ Completed 200 OK in 3ms (Views: 0.2ms)
39835
+ ------------------------------------------
39836
+ Cogy::InventoryTest: test_without_commands
39837
+ ------------------------------------------
39838
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39839
+ Processing by Cogy::CogyController#inventory as HTML
39840
+ Rendered text template (0.0ms)
39841
+ Completed 200 OK in 1ms (Views: 0.2ms)
39842
+ --------------------------------------------
39843
+ Cogy::InventoryTest: test_cog_bundle_version
39844
+ --------------------------------------------
39845
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39846
+ Processing by Cogy::CogyController#inventory as HTML
39847
+ Rendered text template (0.0ms)
39848
+ Completed 200 OK in 4ms (Views: 0.3ms)
39849
+ ----------------------------------
39850
+ Cogy::InventoryTest: test_template
39851
+ ----------------------------------
39852
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39853
+ Processing by Cogy::CogyController#inventory as HTML
39854
+ Rendered text template (0.0ms)
39855
+ Completed 200 OK in 4ms (Views: 0.3ms)
39856
+ ------------------------------------------
39857
+ Cogy::InventoryTest: test_commands_section
39858
+ ------------------------------------------
39859
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:42:48 +0200
39860
+ Processing by Cogy::CogyController#inventory as HTML
39861
+ Rendered text template (0.0ms)
39862
+ Completed 200 OK in 3ms (Views: 0.3ms)
39863
+ -------------------------------------
39864
+ Cogy::CommandTest: test_args_ordering
39865
+ -------------------------------------
39866
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39867
+ Processing by Cogy::CogyController#command as HTML
39868
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
39869
+ Rendered text template (0.0ms)
39870
+ Completed 200 OK in 7ms (Views: 6.7ms)
39871
+ -------------------------------------------
39872
+ Cogy::CommandTest: test_error_response_code
39873
+ -------------------------------------------
39874
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39875
+ Processing by Cogy::CogyController#command as HTML
39876
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
39877
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.3ms)
39878
+ Completed 500 Internal Server Error in 4ms (Views: 3.4ms)
39879
+ ------------------------------------------------
39880
+ Cogy::CommandTest: test_invalid_opts_declaration
39881
+ ------------------------------------------------
39882
+ --------------------------------
39883
+ Cogy::CommandTest: test_cogy_env
39884
+ --------------------------------
39885
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39886
+ Processing by Cogy::CogyController#command as HTML
39887
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
39888
+ Rendered text template (0.0ms)
39889
+ Completed 200 OK in 0ms (Views: 0.2ms)
39890
+ ------------------------------------
39891
+ Cogy::CommandTest: test_calc_command
39892
+ ------------------------------------
39893
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39894
+ Processing by Cogy::CogyController#command as HTML
39895
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
39896
+ Rendered text template (0.0ms)
39897
+ Completed 200 OK in 0ms (Views: 0.2ms)
39898
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39899
+ Processing by Cogy::CogyController#command as HTML
39900
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
39901
+ Rendered text template (0.0ms)
39902
+ Completed 200 OK in 0ms (Views: 0.2ms)
39903
+ -----------------------------------------
39904
+ Cogy::CommandTest: test_command_not_found
39905
+ -----------------------------------------
39906
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39907
+ Processing by Cogy::CogyController#command as HTML
39908
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
39909
+ Rendered text template (0.0ms)
39910
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
39911
+ -----------------------------------------
39912
+ Cogy::CommandTest: test_rails_url_helpers
39913
+ -----------------------------------------
39914
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39915
+ Processing by Cogy::CogyController#command as HTML
39916
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
39917
+ Rendered text template (0.0ms)
39918
+ Completed 200 OK in 1ms (Views: 0.3ms)
39919
+ -------------------------------------------------------------
39920
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
39921
+ -------------------------------------------------------------
39922
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39923
+ Processing by Cogy::CogyController#command as HTML
39924
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
39925
+ Rendered text template (0.0ms)
39926
+ Completed 200 OK in 0ms (Views: 0.2ms)
39927
+ ------------------------------------------------
39928
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
39929
+ ------------------------------------------------
39930
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39931
+ Processing by Cogy::CogyController#command as HTML
39932
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
39933
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
39934
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
39935
+ ----------------------------------------------------
39936
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
39937
+ ----------------------------------------------------
39938
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39939
+ Processing by Cogy::CogyController#command as HTML
39940
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
39941
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
39942
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
39943
+ ------------------------------------------
39944
+ Cogy::InventoryTest: test_commands_section
39945
+ ------------------------------------------
39946
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39947
+ Processing by Cogy::CogyController#inventory as HTML
39948
+ Rendered text template (0.0ms)
39949
+ Completed 200 OK in 3ms (Views: 0.3ms)
39950
+ --------------------------------------
39951
+ Cogy::InventoryTest: test_content_type
39952
+ --------------------------------------
39953
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39954
+ Processing by Cogy::CogyController#inventory as HTML
39955
+ Rendered text template (0.0ms)
39956
+ Completed 200 OK in 6ms (Views: 0.7ms)
39957
+ --------------------------------------------
39958
+ Cogy::InventoryTest: test_cog_bundle_version
39959
+ --------------------------------------------
39960
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39961
+ Processing by Cogy::CogyController#inventory as HTML
39962
+ Rendered text template (0.0ms)
39963
+ Completed 200 OK in 3ms (Views: 0.2ms)
39964
+ ------------------------------------
39965
+ Cogy::InventoryTest: test_valid_yaml
39966
+ ------------------------------------
39967
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39968
+ Processing by Cogy::CogyController#inventory as HTML
39969
+ Rendered text template (0.0ms)
39970
+ Completed 200 OK in 4ms (Views: 0.3ms)
39971
+ ----------------------------------
39972
+ Cogy::InventoryTest: test_template
39973
+ ----------------------------------
39974
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39975
+ Processing by Cogy::CogyController#inventory as HTML
39976
+ Rendered text template (0.0ms)
39977
+ Completed 200 OK in 3ms (Views: 0.2ms)
39978
+ ------------------------------------------
39979
+ Cogy::InventoryTest: test_without_commands
39980
+ ------------------------------------------
39981
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39982
+ Processing by Cogy::CogyController#inventory as HTML
39983
+ Rendered text template (0.0ms)
39984
+ Completed 200 OK in 1ms (Views: 0.2ms)
39985
+ -----------------------------------------------
39986
+ Cogy::InventoryTest: test_bundle_version_lambda
39987
+ -----------------------------------------------
39988
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39989
+ Processing by Cogy::CogyController#inventory as HTML
39990
+ Rendered text template (0.0ms)
39991
+ Completed 200 OK in 3ms (Views: 0.2ms)
39992
+ ----------------------------------------------------
39993
+ Cogy::HelpersTest: test_custom_helper_with_arguments
39994
+ ----------------------------------------------------
39995
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
39996
+ Processing by Cogy::CogyController#command as HTML
39997
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
39998
+ Rendered text template (0.0ms)
39999
+ Completed 200 OK in 0ms (Views: 0.2ms)
40000
+ -----------------------------------------------------------------
40001
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
40002
+ -----------------------------------------------------------------
40003
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
40004
+ Processing by Cogy::CogyController#command as HTML
40005
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
40006
+ Rendered text template (0.0ms)
40007
+ Completed 200 OK in 0ms (Views: 0.2ms)
40008
+ --------------------------------------------
40009
+ Cogy::JsonResponseTest: test_custom_template
40010
+ --------------------------------------------
40011
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
40012
+ Processing by Cogy::CogyController#command as HTML
40013
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
40014
+ Rendered text template (0.0ms)
40015
+ Completed 200 OK in 1ms (Views: 0.3ms)
40016
+ -------------------------------------------------------------
40017
+ Cogy::JsonResponseTest: test_json_output_and_default_template
40018
+ -------------------------------------------------------------
40019
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
40020
+ Processing by Cogy::CogyController#command as HTML
40021
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
40022
+ Rendered text template (0.0ms)
40023
+ Completed 200 OK in 1ms (Views: 0.4ms)
40024
+ -----------------------------------
40025
+ Cogy::BuiltinHelpersTest: test_args
40026
+ -----------------------------------
40027
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
40028
+ Processing by Cogy::CogyController#command as HTML
40029
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
40030
+ Rendered text template (0.0ms)
40031
+ Completed 200 OK in 0ms (Views: 0.2ms)
40032
+ --------------------------------------------------------
40033
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
40034
+ --------------------------------------------------------
40035
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
40036
+ Processing by Cogy::CogyController#command as HTML
40037
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
40038
+ Rendered text template (0.0ms)
40039
+ Completed 200 OK in 1ms (Views: 0.5ms)
40040
+ -----------------------------------------------------------------------
40041
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
40042
+ -----------------------------------------------------------------------
40043
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-01-25 13:47:01 +0200
40044
+ Processing by Cogy::CogyController#command as HTML
40045
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
40046
+ Rendered text template (0.0ms)
40047
+ Completed 200 OK in 3ms (Views: 2.6ms)