aboutsummaryrefslogtreecommitdiffstats
path: root/actionservice/test/router_action_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionservice/test/router_action_controller_test.rb')
-rw-r--r--actionservice/test/router_action_controller_test.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/actionservice/test/router_action_controller_test.rb b/actionservice/test/router_action_controller_test.rb
index b541b46542..e26d67c194 100644
--- a/actionservice/test/router_action_controller_test.rb
+++ b/actionservice/test/router_action_controller_test.rb
@@ -7,7 +7,7 @@ module RouterActionControllerTest
end
class Service < ActionService::Base
- service_api API
+ web_service_api API
attr :added
@@ -17,9 +17,9 @@ module RouterActionControllerTest
end
class DelegatedController < ActionController::Base
- service_dispatching_mode :delegated
+ web_service_dispatching_mode :delegated
- service(:test_service) { @service ||= Service.new; @service }
+ web_service(:test_service) { @service ||= Service.new; @service }
end
class DirectAPI < ActionService::API::Base
@@ -30,8 +30,8 @@ module RouterActionControllerTest
end
class DirectController < ActionController::Base
- service_api DirectAPI
- service_dispatching_mode :direct
+ web_service_api DirectAPI
+ web_service_dispatching_mode :direct
before_filter :alwaysfail, :only => [:before_filtered]
after_filter :alwaysok, :only => [:after_filtered]
@@ -116,7 +116,7 @@ class TC_RouterActionController < AbstractSoapTest
exception = result.detail
assert(exception.cause.is_a?(RuntimeError))
assert_equal("Hi, I'm a SOAP exception", exception.cause.message)
- @container.service_exception_reporting = false
+ @container.web_service_exception_reporting = false
assert_raises(SoapTestError) do
do_soap_call('Thrower')
end
@@ -128,7 +128,7 @@ class TC_RouterActionController < AbstractSoapTest
end
def service
- @container.service_object(:test_service)
+ @container.web_service_object(:test_service)
end
def do_soap_call(public_method_name, *args)