debitech_soap 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- debitech_soap (1.0.0)
4
+ debitech_soap (1.0.1)
5
5
  mumboe-soap4r (~> 1.5.8.4)
6
6
 
7
7
  GEM
@@ -37,7 +37,7 @@ module DebitechSoap
37
37
  @api_credentials[:password] = opts[:password]
38
38
 
39
39
  disable_stderr do
40
- @client = SOAP::WSDLDriverFactory.new(File.join(File.dirname(__FILE__), "service.wsdl")).create_rpc_driver
40
+ @client = SOAP::WSDLDriverFactory.new(File.join(File.dirname(__FILE__), "../service.wsdl")).create_rpc_driver
41
41
  end
42
42
 
43
43
  define_java_wrapper_methods!
@@ -1,3 +1,3 @@
1
1
  module DebitechSoap
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -20,8 +20,16 @@ class MockSoapResultRuby19
20
20
  end
21
21
  end
22
22
 
23
+ describe DebitechSoap::API do
24
+ # When it can't find the wsdl file it throws an error. We need to ensure
25
+ # it can find the file (fixed regression bug).
26
+ it "can be initialized" do
27
+ DebitechSoap::API.new
28
+ end
29
+ end
30
+
23
31
  describe DebitechSoap::API, "valid_credentials?" do
24
-
32
+
25
33
  before do
26
34
  @client = mock(Object)
27
35
  SOAP::WSDLDriverFactory.stub!(:new).and_return(mock(Object, :create_rpc_driver => @client))
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: debitech_soap
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Joakim Kolsj\xC3\xB6"