1 require File.dirname(__FILE__) + '/../test_helper'
3 class SiteControllerTest < ActionController::TestCase
4 ## Lets check that we can get all the pages without any errors
9 assert_response :success
10 assert_template 'index'
11 # Seems that we need to wait for Rails 2.3 for this one
12 # assert_template :partial => '_search', :count => 1
18 # Should be redirected
19 assert_response :redirect
25 assert_response :success
26 assert_template 'index'
32 assert_response :success
33 assert_template 'offline'