Commit 88fc0118 by Đường Sỹ Hoàng

Fixed Identication

parent 0ba99f53
require "test_helper" require "test_helper"
class StaticPagesControllerTest < ActionDispatch::IntegrationTest class StaticPagesControllerTest < ActionDispatch::IntegrationTest
test "should get home" do test "should get home" do
get root_path get root_path
assert_response :success assert_response :success
assert_select "title", "Ruby on Rails Tutorial Sample App" assert_select "title", "Ruby on Rails Tutorial Sample App"
end end
test "should get help" do test "should get help" do
get help_path get help_path
assert_response :success assert_response :success
assert_select "title", "Help | Ruby on Rails Tutorial Sample App" assert_select "title", "Help | Ruby on Rails Tutorial Sample App"
end end
test "should get about" do test "should get about" do
get about_path get about_path
assert_response :success assert_response :success
assert_select "title", "About | Ruby on Rails Tutorial Sample App" assert_select "title", "About | Ruby on Rails Tutorial Sample App"
end end
test "should get contact" do test "should get contact" do
get contact_path get contact_path
assert_response :success assert_response :success
assert_select "title", "Contact | Ruby on Rails Tutorial Sample App" assert_select "title", "Contact | Ruby on Rails Tutorial Sample App"
end end
test "should get signup" do test "should get signup" do
get signup_path get signup_path
assert_response :success assert_response :success
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment