Hi,
# in functional/projects_controller_test.rb
def test_should_show_project_home_page_as_public_exists get :show, :id => 2 assert_redirected_to :controller => 'pages', :action => 'show', 'id' => 'home', :project_id => 2 end
SUCCEEDS
def test_should_show_project_as_submitter_no_submission login_as('imasubmitter') get :show, :id => 2 default_text = "No submissions present for this project." assert_select "p#test-for", default_text end
SUCCEEDS