Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 45c063152a
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.483 kb
require 'concensus'
describe Concensus do
describe "zipcodes" do
describe "2010" do
before { Concensus::configuration.year = 2010 }
it "should be able to find all zipcodes for a state" do
Concensus::Zipcode.find_all("CO").should be_instance_of(Array)
end
it "should be able to find one zipcode for a state" do
Concensus::Zipcode.find("CO", "80022").should be_instance_of(Concensus::Zipcode)
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.