1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2025-12-10 08:46:41 +01:00
projekteuler/test/controllers/about_controller_test.rb

35 lines
685 B
Ruby

require 'test_helper'
class AboutControllerTest < ActionDispatch::IntegrationTest
test "should get index" do
get about_index_url
assert_response :success
end
test "should get info" do
get about_info_url
assert_response :success
end
test "should get copyright" do
get about_copyright_url
assert_response :success
end
test "should get legal" do
get about_legal_url
assert_response :success
end
test "should get roman_numerals" do
get about_roman_numerals_url
assert_response :success
end
test "should redirect about pages" do
get '/about=roman_numerals'
assert_redirected_to about_roman_numerals_url
end
end