wicoris-postman 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -69,6 +69,11 @@ module Wicoris::Postman
|
|
69
69
|
expect{ fax.validated_phone }.to raise_error ArgumentError
|
70
70
|
end
|
71
71
|
|
72
|
+
it 'does not raise with 9 digits' do
|
73
|
+
job.stub(:phone).and_return('012345678')
|
74
|
+
expect{ fax.validated_phone }.to_not raise_error ArgumentError
|
75
|
+
end
|
76
|
+
|
72
77
|
it 'raises when number contains invalid chars' do
|
73
78
|
job.stub(:phone).and_return('01234hello')
|
74
79
|
expect{ fax.validated_phone }.to raise_error ArgumentError
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wicoris-postman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 49
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 11
|
9
|
-
-
|
10
|
-
version: 0.11.
|
9
|
+
- 1
|
10
|
+
version: 0.11.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Bjo\xCC\x88rn Albers"
|
@@ -223,7 +223,7 @@ rubyforge_project:
|
|
223
223
|
rubygems_version: 1.6.2
|
224
224
|
signing_key:
|
225
225
|
specification_version: 3
|
226
|
-
summary: wicoris-postman-0.11.
|
226
|
+
summary: wicoris-postman-0.11.1
|
227
227
|
test_files:
|
228
228
|
- features/copy.feature
|
229
229
|
- features/fax.feature
|