rspec-webservice_matchers 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/webservice_matchers/version.rb +1 -1
- data/lib/rspec/webservice_matchers.rb +0 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fd942e9ab0d3224b9147101126f990826db7174
|
4
|
+
data.tar.gz: 2a257f3d1705df87e2cd974b23db47cdc82e3715
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f453a9a2b5a69e1a0a21384da62f4cb62d72e6aa28b46fc2c7b3b178976f0c3d1b40b6cc74e3d5cbafed6997e208613c2ba293bc43fef1c6eb10362fbaee2500
|
7
|
+
data.tar.gz: 2697099e668f2652f00cd7683b22c22e6081f1f0003222139b74c6d424c5345ea18feb9cf0f6445f8e8e1e0b3421b195e391b6b340448fac48711e1f2bf8ea51
|
@@ -1,7 +1,6 @@
|
|
1
1
|
require 'rspec/webservice_matchers/version'
|
2
2
|
require 'faraday'
|
3
3
|
require 'faraday_middleware'
|
4
|
-
require 'pry'
|
5
4
|
|
6
5
|
# Seconds
|
7
6
|
TIMEOUT = 5
|
@@ -42,7 +41,6 @@ module RSpec
|
|
42
41
|
RSpec::Matchers.define :redirect_permanently_to do |expected|
|
43
42
|
match do |url|
|
44
43
|
response = RSpec::WebserviceMatchers.connection.head(url)
|
45
|
-
# binding.pry
|
46
44
|
response.status == 301 && response.headers['location'] == expected
|
47
45
|
end
|
48
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-webservice_matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robb Shecter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
149
|
rubyforge_project:
|
150
|
-
rubygems_version: 2.2.
|
150
|
+
rubygems_version: 2.2.2
|
151
151
|
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: Black-box web app configuration testing
|