spec/sem4r/services/soap_call_spec.rb in sem4r-0.1.1 vs spec/sem4r/services/soap_call_spec.rb in sem4r-0.1.2
- old
+ new
@@ -1,5 +1,6 @@
+# -*- coding: utf-8 -*-
# -------------------------------------------------------------------------
# Copyright (c) 2009-2010 Sem4r sem4ruby@gmail.com
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
@@ -20,11 +21,11 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# -------------------------------------------------------------------------
-require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
+require File.expand_path(File.dirname(__FILE__) + '/../../rspec_helper')
describe SoapCall do
include Sem4rSpecHelper
def mock_connector
@@ -36,13 +37,13 @@
def initialize(connector)
@connector = connector
end
- soap_call_v2009 :get, :mutate => false
- soap_call_v2009 :get_with_arg, :mutate => false
- soap_call_v2009 :mutate
- soap_call_v2009 :mutate_bis, :mutate => true
+ soap_call_v2010 :get, :mutate => false
+ soap_call_v2010 :get_with_arg, :mutate => false
+ soap_call_v2010 :mutate
+ soap_call_v2010 :mutate_bis, :mutate => true
private
def _get(xml)