mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 16:46:42 +01:00
20 lines
351 B
Ruby
20 lines
351 B
Ruby
require 'test_helper'
|
|
|
|
class ProblemsControllerTest < ActionController::TestCase
|
|
test "should get index" do
|
|
get :index
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get show" do
|
|
get :show, id: 1
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get untranslated problem" do
|
|
get :show, id: 3
|
|
assert_response :success
|
|
end
|
|
|
|
end
|