spec/example_data/example_data.rb in hoverbird-ny-times-congress-1.2.1 vs spec/example_data/example_data.rb in hoverbird-ny-times-congress-1.2.2
- old
+ new
@@ -84,6 +84,54 @@
"district":"N/A",
"start_date":"2009-01-06",
"end_date":"2009-01-20"
}
JSON
+end
+
+def member_positions_response
+ <<-JSON
+ {
+ "status":"OK",
+ "copyright":"Copyright (c) 2009 The New York Times Company. All Rights Reserved.",
+ "results":[
+ {
+ "member_id":"N000147",
+ "total_votes":"100",
+ "offset":"0",
+ "votes":[
+ {
+ "member_id":"N000147",
+ "chamber":"House",
+ "congress":"111",
+ "session":"1",
+ "roll_call":"23",
+ "date":"2009-01-21",
+ "time":"15:37:00",
+ "position":"Yes"
+ },
+ {
+ "member_id":"N000147",
+ "chamber":"House",
+ "congress":"111",
+ "session":"1",
+ "roll_call":"19",
+ "date":"2009-01-15",
+ "time":"13:37:00",
+ "position":"Yes"
+ },
+ {
+ "member_id":"N000147",
+ "chamber":"House",
+ "congress":"110",
+ "session":"1",
+ "roll_call":"1031",
+ "date":"2007-11-01",
+ "time":"14:21:00",
+ "position":"No"
+ }
+ ]
+ }
+ ]
+ }
+ JSON
end
\ No newline at end of file