test/dummy/log/test.log in cogy-0.4.0 vs test/dummy/log/test.log in cogy-0.5.0

- old
+ new

@@ -36767,5 +36767,3281 @@ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-05 11:34:10 +0200 Processing by Cogy::CogyController#command as HTML Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 16:36:39 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.3ms) +Completed 500 Internal Server Error in 9ms (Views: 9.2ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 2ms (Views: 1.4ms) +--------------------------------- +Cogy::CommandTest: test_list_opts +--------------------------------- +Started POST "/cogy/cmd/test_ist_opts" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_FLAVOR_0"=>"foo", "COG_OPT_FLAVOR_1"=>"baz", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_ist_opts"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.1ms) +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 0.4ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 0.8ms) +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-06 16:36:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.5ms) +Completed 500 Internal Server Error in 10ms (Views: 10.0ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 1.1ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +--------------------------------- +Cogy::CommandTest: test_list_opts +--------------------------------- +Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_FLAVOR_0"=>"foo", "COG_OPT_FLAVOR_1"=>"baz", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_list_opts"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.4ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.1ms) +Completed 200 OK in 6ms (Views: 1.3ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 0.8ms) +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-06 16:36:49 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +--------------------------------- +Cogy::CommandTest: test_list_opts +--------------------------------- +Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_FLAVOR_0"=>"foo", "COG_OPT_FLAVOR_1"=>"baz", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_list_opts"} + Rendered text template (0.0ms) +Completed 200 OK in 7ms (Views: 6.6ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.4ms) +Completed 500 Internal Server Error in 4ms (Views: 3.5ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.5ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.6ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.4ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.6ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-06 17:17:34 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.4ms) +Completed 500 Internal Server Error in 10ms (Views: 9.8ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 2ms (Views: 1.7ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +--------------------------------- +Cogy::CommandTest: test_list_opts +--------------------------------- +Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_FLAVOR_0"=>"foo", "COG_OPT_FLAVOR_1"=>"baz", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_list_opts"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.5ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.3ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.6ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.3ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 2ms (Views: 0.3ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 12:30:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 7ms (Views: 6.4ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms) +Completed 500 Internal Server Error in 3ms (Views: 2.9ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.5ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +--------------------------------- +Cogy::CommandTest: test_list_opts +--------------------------------- +Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + 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"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.4ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.7ms) +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.8ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 12:37:32 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 4.8ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms) +Completed 500 Internal Server Error in 5ms (Views: 5.2ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 0ms (Views: 0.3ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.5ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +--------------------------------- +Cogy::CommandTest: test_list_opts +--------------------------------- +Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + 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"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.8ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 0.3ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:37:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 4.8ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.4ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms) +Completed 500 Internal Server Error in 3ms (Views: 2.8ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.5ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +--------------------------------- +Cogy::CommandTest: test_list_opts +--------------------------------- +Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#command as HTML + 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"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 0.7ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 0.6ms) +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:12 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 0.6ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 6.1ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms) +Completed 500 Internal Server Error in 3ms (Views: 2.9ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.4ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.4ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +--------------------------------- +Cogy::CommandTest: test_list_opts +--------------------------------- +Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + 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"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:38:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.6ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 12:39:37 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 5.3ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.3ms) +--------------------------------- +Cogy::CommandTest: test_list_opts +--------------------------------- +Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + 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"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms) +Completed 500 Internal Server Error in 3ms (Views: 3.0ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.5ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.5ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.1ms) +Completed 200 OK in 6ms (Views: 0.9ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 0.3ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.5ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.9ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 12:39:38 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 5ms (Views: 5.2ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.2ms) +Completed 500 Internal Server Error in 3ms (Views: 3.0ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.0ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +--------------------------------- +Cogy::CommandTest: test_list_opts +--------------------------------- +Started POST "/cogy/cmd/test_list_opts" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + 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"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 0.5ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 7ms (Views: 0.7ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:04 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.3ms) +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 12:40:05 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 7ms (Views: 6.7ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.4ms) +Completed 500 Internal Server Error in 7ms (Views: 6.4ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 2ms (Views: 0.2ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 2ms (Views: 0.2ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 2ms (Views: 0.2ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.4ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 0.3ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2016-12-08 16:54:00 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 8ms (Views: 7.9ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (2.5ms) +Completed 500 Internal Server Error in 6ms (Views: 5.3ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.3ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.3ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +------------------------------------------- +Cogy::InventoryTest: test_env_var_injection +------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:36 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.4ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:37 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.2ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:37 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.3ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:16:37 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-01-25 13:16:37 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-01-25 13:16:37 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-01-25 13:16:37 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-01-25 13:16:37 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-01-25 13:16:37 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 13ms (Views: 7.3ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.4ms) +Completed 500 Internal Server Error in 5ms (Views: 4.5ms) +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.1ms) +Completed 200 OK in 0ms (Views: 0.3ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-01-25 13:19:27 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 6.1ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.3ms) +Completed 500 Internal Server Error in 4ms (Views: 3.4ms) +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.7ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-01-25 13:30:59 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 8ms (Views: 7.7ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.4ms) +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.4ms) +Completed 500 Internal Server Error in 5ms (Views: 5.2ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.3ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.5ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:40:40 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 6.2ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.3ms) +Completed 500 Internal Server Error in 4ms (Views: 3.5ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 1.1ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.3ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 0ms (Views: 0.4ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.3ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.3ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:42:48 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +------------------------------------- +Cogy::CommandTest: test_args_ordering +------------------------------------- +Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"} + Rendered text template (0.0ms) +Completed 200 OK in 7ms (Views: 6.7ms) +------------------------------------------- +Cogy::CommandTest: test_error_response_code +------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.3ms) +Completed 500 Internal Server Error in 4ms (Views: 3.4ms) +------------------------------------------------ +Cogy::CommandTest: test_invalid_opts_declaration +------------------------------------------------ +-------------------------------- +Cogy::CommandTest: test_cogy_env +-------------------------------- +Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------ +Cogy::CommandTest: test_calc_command +------------------------------------ +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_command_not_found +----------------------------------------- +Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"} + Rendered text template (0.0ms) +Completed 404 Not Found in 0ms (Views: 0.2ms) +----------------------------------------- +Cogy::CommandTest: test_rails_url_helpers +----------------------------------------- +Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +------------------------------------------------------------- +Cogy::CommandTest: test_opts_downcased_and_indifferent_access +------------------------------------------------------------- +Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +------------------------------------------------ +Cogy::ErrorTemplateTest: test_error_tmpl_message +------------------------------------------------ +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +---------------------------------------------------- +Cogy::ErrorTemplateTest: test_error_tmpl_contenttype +---------------------------------------------------- +Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"} + Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms) +Completed 500 Internal Server Error in 1ms (Views: 0.4ms) +------------------------------------------ +Cogy::InventoryTest: test_commands_section +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.3ms) +-------------------------------------- +Cogy::InventoryTest: test_content_type +-------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 6ms (Views: 0.7ms) +-------------------------------------------- +Cogy::InventoryTest: test_cog_bundle_version +-------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------ +Cogy::InventoryTest: test_valid_yaml +------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 4ms (Views: 0.3ms) +---------------------------------- +Cogy::InventoryTest: test_template +---------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +------------------------------------------ +Cogy::InventoryTest: test_without_commands +------------------------------------------ +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms) +----------------------------------------------- +Cogy::InventoryTest: test_bundle_version_lambda +----------------------------------------------- +Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#inventory as HTML + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 0.2ms) +---------------------------------------------------- +Cogy::HelpersTest: test_custom_helper_with_arguments +---------------------------------------------------- +Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +----------------------------------------------------------------- +Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers +----------------------------------------------------------------- +Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------- +Cogy::JsonResponseTest: test_custom_template +-------------------------------------------- +Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.3ms) +------------------------------------------------------------- +Cogy::JsonResponseTest: test_json_output_and_default_template +------------------------------------------------------------- +Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.4ms) +----------------------------------- +Cogy::BuiltinHelpersTest: test_args +----------------------------------- +Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"} + Rendered text template (0.0ms) +Completed 200 OK in 0ms (Views: 0.2ms) +-------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_with_empty_arguments +-------------------------------------------------------- +Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"} + Rendered text template (0.0ms) +Completed 200 OK in 1ms (Views: 0.5ms) +----------------------------------------------------------------------- +Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers +----------------------------------------------------------------------- +Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-01-25 13:47:01 +0200 +Processing by Cogy::CogyController#command as HTML + Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"} + Rendered text template (0.0ms) +Completed 200 OK in 3ms (Views: 2.6ms)