test/yao/test_client_plugin.rb in yao-0.3.7 vs test/yao/test_client_plugin.rb in yao-0.3.8

- old
+ new

@@ -19,10 +19,10 @@ assert { e.message == "Invalid client_generator name :nonexist.\nNote: name must be a Symbol" } end class ::Yao::Plugins::TestCustomClientGenerator def call(f, t) - f.response :xml, :content_type => /\/xml$/ + f.response :xml, content_type: /\/xml$/ end ::Yao::Plugins.register self, type: :client_generator, name: :test_custom end def test_gen_client_with_custom