1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 02:28:50 +01:00

Add controller for Problems with index and show actions

This commit is contained in:
2014-12-29 16:16:57 +01:00
parent d1470f391e
commit 06ab2e4cab
11 changed files with 94 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
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
end