finished dmails and favorites functional tests

This commit is contained in:
albert
2010-12-05 22:27:45 -05:00
parent b18f6340e7
commit 46164eab4f
25 changed files with 226 additions and 48 deletions

View File

@@ -13,12 +13,12 @@ class ArtistVersionsControllerTest < ActionController::TestCase
CurrentUser.ip_addr = nil
end
should "render the index page" do
should "get the index page" do
get :index
assert_response :success
end
should "render the index page when searching for something" do
should "get the index page when searching for something" do
get :index, {:search => {:name_equals => @artist.name}}
assert_response :success
end