aboutsummaryrefslogtreecommitdiffstats
path: root/actionservice/test/invocation_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionservice/test/invocation_test.rb')
-rw-r--r--actionservice/test/invocation_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionservice/test/invocation_test.rb b/actionservice/test/invocation_test.rb
index d8ecdc4e0b..e4c82a35f8 100644
--- a/actionservice/test/invocation_test.rb
+++ b/actionservice/test/invocation_test.rb
@@ -13,7 +13,7 @@ module InvocationTest
end
class Service < ActionService::Base
- service_api API
+ web_service_api API
before_invocation :intercept_before, :except => [:no_before]
after_invocation :intercept_after, :except => [:no_after]
@@ -150,7 +150,7 @@ class TC_Invocation < Test::Unit::TestCase
private
def perform_invocation(method_name, *args, &block)
- public_method_name = @service.class.service_api.public_api_method_name(method_name)
+ public_method_name = @service.class.web_service_api.public_api_method_name(method_name)
args ||= []
request = InvocationRequest.new(ConcreteInvocation, public_method_name, method_name, args)
@service.perform_invocation(request, &block)