pairwise_blank_value.yml
4.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
---
recorded_with: VCR 2.8.0
http_interactions:
- request:
method: get
uri: http://abner.oliveira%40serpro.gov.br:serpro@localhost:3030/questions/3/choices.xml
body:
string: ""
headers:
Accept:
- application/xml
response:
status:
code: 200
message: "OK "
headers:
Server:
- WEBrick/1.3.1 (Ruby/1.8.7/2013-06-27)
Content-Length:
- "1134"
Set-Cookie:
- _rebirth_session_key=BAh7BzoOcmV0dXJuX3RvIh0vcXVlc3Rpb25zLzMvY2hvaWNlcy54bWw6D3Nlc3Npb25faWQiJTcxMmUwYTYyOTE3NGE0OWU3MzhiMjA4MDFmOGJiNDM4--8d93999812fc4be458135b01a42d53e8ff9b58de; path=/; HttpOnly
Content-Type:
- application/xml; charset=utf-8
Cache-Control:
- private, max-age=0, must-revalidate
Connection:
- Keep-Alive
X-Runtime:
- "100"
Etag:
- "\"3d3cc6bfd093918ac1b1b8c8e465efa7\""
Date:
- Tue, 18 Mar 2014 13:53:26 GMT
body:
string: |
<?xml version="1.0" encoding="UTF-8"?>
<choices type="array">
<choice>
<active type="boolean">true</active>
<created-at type="datetime">2014-03-18T13:53:23Z</created-at>
<data>Choice 1</data>
<id type="integer">11</id>
<losses type="integer">0</losses>
<score type="float">50.0</score>
<wins type="integer">0</wins>
<user-created type="boolean">false</user-created>
</choice>
<choice>
<active type="boolean">true</active>
<created-at type="datetime">2014-03-18T13:53:23Z</created-at>
<data>Choice 2</data>
<id type="integer">12</id>
<losses type="integer">0</losses>
<score type="float">50.0</score>
<wins type="integer">0</wins>
<user-created type="boolean">false</user-created>
</choice>
<choice>
<active type="boolean">true</active>
<created-at type="datetime">2014-03-18T13:53:24Z</created-at>
<data>New inactive choice</data>
<id type="integer">13</id>
<losses type="integer">0</losses>
<score type="float">50.0</score>
<wins type="integer">0</wins>
<user-created type="boolean">false</user-created>
</choice>
</choices>
http_version:
recorded_at: Tue, 18 Mar 2014 13:53:26 GMT
- request:
method: get
uri: http://abner.oliveira%40serpro.gov.br:serpro@localhost:3030/questions/3/choices/11.xml
body:
string: ""
headers:
Accept:
- application/xml
response:
status:
code: 200
message: "OK "
headers:
Server:
- WEBrick/1.3.1 (Ruby/1.8.7/2013-06-27)
Content-Length:
- "1047"
Set-Cookie:
- _rebirth_session_key=BAh7BzoOcmV0dXJuX3RvIiAvcXVlc3Rpb25zLzMvY2hvaWNlcy8xMS54bWw6D3Nlc3Npb25faWQiJTM1NmM3MmJmNTczYzIwYzcyODBjMWFlNDBkNTAxNzlm--2dc46b515e26ca772b36dab15b0359c7317e28ca; path=/; HttpOnly
Content-Type:
- application/xml; charset=utf-8
Cache-Control:
- private, max-age=0, must-revalidate
Connection:
- Keep-Alive
X-Runtime:
- "25"
Etag:
- "\"05b426e3208a00fc0be6d435b75cc361\""
Date:
- Tue, 18 Mar 2014 13:53:26 GMT
body:
string: |
<?xml version="1.0" encoding="UTF-8"?>
<choice>
<active type="boolean">true</active>
<created-at type="datetime">2014-03-18T13:53:23Z</created-at>
<creator-id type="integer">4</creator-id>
<data>Choice 1</data>
<id type="integer">11</id>
<item-id type="integer" nil="true"></item-id>
<local-identifier nil="true"></local-identifier>
<losses type="integer">0</losses>
<position type="integer" nil="true"></position>
<prompt-id type="integer" nil="true"></prompt-id>
<prompts-count type="integer">0</prompts-count>
<prompts-on-the-left-count type="integer">0</prompts-on-the-left-count>
<prompts-on-the-right-count type="integer">0</prompts-on-the-right-count>
<question-id type="integer">3</question-id>
<ratings type="integer" nil="true"></ratings>
<request-id type="integer" nil="true"></request-id>
<score type="float">50.0</score>
<tracking nil="true"></tracking>
<updated-at type="datetime">2014-03-18T13:53:23Z</updated-at>
<version type="integer">1</version>
<wins type="integer">0</wins>
</choice>
http_version:
recorded_at: Tue, 18 Mar 2014 13:53:26 GMT