spec/fixtures/user_fixture.rb in savon-0.5.3 vs spec/fixtures/user_fixture.rb in savon-0.6.0

- old
+ new

@@ -1,15 +1,27 @@ class UserFixture @namespace_uri = "http://v1_0.ws.user.example.com" - @soap_actions = { :user_find_by_id => "User.FindById", :find_user => "findUser" } + @soap_actions = { + :user_find_by_id => { :name => "User.FindById", :input => "User.FindById" }, + :find_user => { :name => "findUser", :input => "findUser" } + } @datetime_string = "2010-11-22T11:22:33" @datetime_object = DateTime.parse @datetime_string - @response_hash = { :id => "666", :active => true, :username => "thedude", - :firstname => "The", :lastname => "Dude", :email => "thedude@example.com", - :registered => @datetime_object } + @response_hash = { + :ns2 => "http://v1_0.ws.user.example.com", + :return => { + :active => true, + :firstname => "The", + :lastname => "Dude", + :email => "thedude@example.com", + :id => "666", + :registered => @datetime_object, + :username => "thedude" + } + } class << self attr_accessor :namespace_uri, :soap_actions, :datetime_string, :datetime_object, :response_hash