socialforge/test/functional/test_controller_test.rb

14 lines
392 B
Ruby
Raw Normal View History

2014-10-21 15:13:18 +08:00
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