add support for saved search metatag + tests

This commit is contained in:
r888888888
2015-11-24 12:55:18 -08:00
parent 268a821354
commit 21ab11d92a
8 changed files with 182 additions and 20 deletions

View File

@@ -0,0 +1,42 @@
---
http_interactions:
- request:
method: get
uri: http://localhost:3001/users?key=blahblahblah&name=blah&user_id=1
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: 'OK '
headers:
Content-Type:
- text/html;charset=utf-8
Content-Length:
- '7'
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
Server:
- WEBrick/1.3.1 (Ruby/2.1.3/2014-09-19)
Date:
- Tue, 24 Nov 2015 20:43:18 GMT
Connection:
- Keep-Alive
body:
encoding: UTF-8
string: '["1","2","3","4"]'
http_version:
recorded_at: Tue, 24 Nov 2015 20:43:18 GMT
recorded_with: VCR 2.9.3

View File

@@ -0,0 +1,42 @@
---
http_interactions:
- request:
method: get
uri: http://localhost:3001/users?key=blahblahblah&name&user_id=1
body:
encoding: US-ASCII
string: ''
headers:
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
- Ruby
response:
status:
code: 200
message: 'OK '
headers:
Content-Type:
- text/html;charset=utf-8
Content-Length:
- '7'
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
Server:
- WEBrick/1.3.1 (Ruby/2.1.3/2014-09-19)
Date:
- Tue, 24 Nov 2015 20:43:18 GMT
Connection:
- Keep-Alive
body:
encoding: UTF-8
string: '["1","2","3","4"]'
http_version:
recorded_at: Tue, 24 Nov 2015 20:43:18 GMT
recorded_with: VCR 2.9.3