socialforge/test/functional/test_controller_test.rb

14 lines
379 B
Ruby
Raw Normal View History

require 'test_helper'
class TestControllerTest < ActionController::TestCase
# test "the truth" do
# assert true
# end
test "get test index error" do
@request.env["REQUEST_URI"] = ""
get :index
assert_template :index
# assert_template layout: "layouts/base", partial: ["layouts/base_header","_base_header", 'layouts/base_footer', "_base_footer",]
end
end