test/system/making_requests_tests.rb in and-son-0.6.1 vs test/system/making_requests_tests.rb in and-son-0.7.0

- old
+ new

@@ -41,10 +41,10 @@ ENV.delete('ANDSON_TEST_MODE') end should "return the registered response" do client = AndSon.new('localhost', 12000) - client.responses.add('echo', 'message' => 'test'){ 'test' } + client.add_response('echo', 'message' => 'test'){ 'test' } client.call('echo', 'message' => 'test') do |response| assert_equal 200, response.code assert_equal nil, response.status.message assert_equal 'test', response.data