Sha256: cd764a59ec50cde46474d0b9e55cc7fa3828313df81ae58511eedb349a9de4a9
Contents?: true
Size: 535 Bytes
Versions: 1
Compression:
Stored size: 535 Bytes
Contents
require 'spec_helper' module VoteSmart describe State do describe "all" do def do_find State.all end it_should_find :count => 56, :first => {:name => "National", :id => "NA"}, :last => {:name => "Louisiana", :id => "LA"} end describe "find_by_id" do def do_find State.find_by_id("GA") end it_should_find :item => {:name => "Georgia", :id => "GA", :largest_city => "Atlanta"} end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
votesmart-0.4.1 | spec/vote_smart/state_spec.rb |