savon_spec 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/lib/savon/spec/mock.rb +1 -1
- data/lib/savon/spec/version.rb +1 -1
- data/spec/savon/spec/mock_spec.rb +6 -0
- metadata +4 -3
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2011 Daniel Harrington
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/lib/savon/spec/mock.rb
CHANGED
data/lib/savon/spec/version.rb
CHANGED
@@ -27,6 +27,12 @@ describe Savon::Spec::Mock do
|
|
27
27
|
)
|
28
28
|
end
|
29
29
|
|
30
|
+
it "should not lower_camelcase actions that are passed as string" do
|
31
|
+
expect { client.request("GetUser") }.to raise_error(
|
32
|
+
Savon::Spec::ExpectationError,
|
33
|
+
"expected :getUser to be called, got: :GetUser"
|
34
|
+
)
|
35
|
+
end
|
30
36
|
end
|
31
37
|
|
32
38
|
describe "#with" do
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: savon_spec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
8
|
+
- 2
|
9
9
|
- 0
|
10
|
-
version: 1.
|
10
|
+
version: 1.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Daniel Harrington
|
@@ -138,6 +138,7 @@ files:
|
|
138
138
|
- .rspec
|
139
139
|
- .travis.yml
|
140
140
|
- Gemfile
|
141
|
+
- LICENSE
|
141
142
|
- README.md
|
142
143
|
- Rakefile
|
143
144
|
- lib/savon/spec.rb
|