refactor source pixiv test

refactor pixiv download tests
refactor upload test
refactor nico seiga test
refactor twitter tests
This commit is contained in:
r888888888
2016-09-27 16:22:54 -07:00
parent 4fa2741ed2
commit fc7afd44ea
134 changed files with 66158 additions and 70930 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