Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 28th, 2012  |  syntax: None  |  size: 2.88 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Fabricator(:open_congress_bill) do |b|
  2.   b.bill_titles {[{ "fti_titles" => "unknown",
  3.                     "title" => "Community Forestry Conservation Act of 2011",
  4.                     "is_default" => false,
  5.                     "title_type" => "short",
  6.                     "id" => 98118,
  7.                     "as" => "introduced",
  8.                     "bill_id" => 70740},{"fti_titles" => "\'bill\'2 \'bond\'12 \'conserv\'11 \'exempt\'8 \'feder\'6 \'forest\'10 \'provid\'4 \'purpos\'16 \'tax\'7",
  9.                     "title" => "A bill to provide a Federal tax exemption for forest conservation bonds, and for other purposes.",
  10.                     "is_default" => false,
  11.                     "title_type" => "official",
  12.                     "id" => 97659,
  13.                     "as" => "introduced",
  14.                     "bill_id" => 70740}]}
  15.   b.bill_type "s"
  16.   b.co_sponsors "need array here"
  17.   b.id 70740
  18.   b.introduced 1306386000
  19.   b.last_speech
  20.   b.last_vote_date
  21.   b.last_vote_roll
  22.   b.last_vote_where
  23.   b.most_recent_actions {[{"result" => nil,
  24.                             "created_at" => "2011-05-27T134809Z",
  25.                             "govtrack_order" => "",
  26.                             "amendment_id" => "",
  27.                             "text" => "Read twice and referred to the Committee on Finance.",
  28.                             "date" =>  1306386000,
  29.                             "how" => "",
  30.                             "id" => 298911,
  31.                             "vote_type" => "",
  32.                             "type" => "BillAction",
  33.                             "roll_call_id" => nil,
  34.                             "action_type" => "action",
  35.                             "datetime" => "2011-05-26T000000Z",
  36.                             "where" => nil,
  37.                             "bill_id" => 70740,
  38.                             "roll_call_number" => nil} ,
  39.                           {"result" => nil,
  40.                             "created_at" => "2011-05-27T134809Z",
  41.                             "govtrack_order" => nil,
  42.                             "amendment_id" => nil,
  43.                             :text => nil,
  44.                             :date => 1306386000,
  45.                             :how => nil,
  46.                             :id => 298910,
  47.                             :vote_type => nil,
  48.                             :type => "BillAction",
  49.                             :roll_call_id => nil,
  50.                             :action_type => "introduced",
  51.                             :datetime => "2011-05-26T000000Z",
  52.                             :where => nil,
  53.                             :bill_id => 70740,
  54.                             :roll_call_number => nil}
  55.                          ]}
  56.   b.number 1105
  57.   b.plain_language_summary
  58.   b.recent_blogs []
  59.   b.recent_news []
  60.   b.session 112
  61.   #b.sponsor !ruby/objectGovKitOpenCongressPerson {}
  62.   b.status "Introduced"
  63.   b.title_full_common "S.1105 Community Forestry Conservation Act of 2011"
  64. end