require 'test_helper' class FrontControllerTest < ActionController::TestCase test 'should get index' do get :index assert_response :success end test 'should get page' do get :page, id: pages(:one).url_id assert_response :success end end