Permalink
Browse files

Updated housing spec to test that the correct results are being returned

  • Loading branch information...
1 parent 5712ddf commit b0d1f1e86e3471ff05bd32d32fd5afae4023d585 @ryanatwork committed Jun 9, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 test/usatoday-census/test_housing.rb
@@ -20,6 +20,9 @@ class TestUsatoday::TestHousing < Test::Unit::TestCase
should "return an object of the Housing type" do
assert_kind_of(Housing, @housing)
end
+ should "return the correct results" do
+ @housing.housing_units == 3364939
+ end
end
context "Housing.new with FIPS" do
@@ -30,6 +33,9 @@ class TestUsatoday::TestHousing < Test::Unit::TestCase
should "return an object of the Housing type" do
assert_kind_of(Housing, @housing)
end
+ should "return the correct results" do
+ @housing.housing_units == 3364939
+ end
end

0 comments on commit b0d1f1e

Please sign in to comment.