mock5 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mock5/api.rb +1 -1
- data/lib/mock5/version.rb +1 -1
- data/spec/mock5_api_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da624cffc46d03de23ffd9e33419c6dbe501d44c
|
4
|
+
data.tar.gz: 5b492f7e62385283c2bd3f81ba215ea648c321f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b901a32c3b8272e1fd29380a7efa3bb24dbebde8370047d7b6434e826db92c8534124e8d06c0cb4a9b16cf4dd3c453d59aa658a838a60ee12b0aa52d1f5d5619
|
7
|
+
data.tar.gz: b04f2a98b53adaf67262eb5e079c5e61fa247376388e29dc16c731770f14d78f2d43664628a76f0f51c204b7a8a6608d0e6afc9d17b71552be04699a670c0406
|
data/lib/mock5/api.rb
CHANGED
data/lib/mock5/version.rb
CHANGED
data/spec/mock5_api_spec.rb
CHANGED
@@ -30,7 +30,7 @@ describe Mock5::Api do
|
|
30
30
|
it "can not be specified by anything else" do
|
31
31
|
[false, :foo, 123].each do |invalid_endpoint|
|
32
32
|
expect{ described_class.new(invalid_endpoint) }
|
33
|
-
.to raise_error(ArgumentError)
|
33
|
+
.to raise_error(ArgumentError, "Endpoint should be string or regexp")
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|