* Refactored routes some

* Fixed some major bugs with pools and pool versioning
This commit is contained in:
albert
2011-01-21 18:07:34 -05:00
parent cd451109e8
commit 6824e98af3
13 changed files with 101 additions and 51 deletions

View File

@@ -9,7 +9,7 @@ class AdvertisementHitsControllerTest < ActionController::TestCase
should "create a new hit" do
assert_difference("AdvertisementHit.count", 1) do
post :create, {:id => @ad.id}
post :create, {:advertisement_id => @ad.id}
end
assert_redirected_to(@ad.referral_url)
end