diff options
Diffstat (limited to 'rails/test/controllers')
-rw-r--r-- | rails/test/controllers/.keep | 0 | ||||
-rw-r--r-- | rails/test/controllers/lingo/scores_controller_test.rb | 17 |
2 files changed, 17 insertions, 0 deletions
diff --git a/rails/test/controllers/.keep b/rails/test/controllers/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/rails/test/controllers/.keep | |||
diff --git a/rails/test/controllers/lingo/scores_controller_test.rb b/rails/test/controllers/lingo/scores_controller_test.rb new file mode 100644 index 0000000..7551923 --- /dev/null +++ b/rails/test/controllers/lingo/scores_controller_test.rb | |||
@@ -0,0 +1,17 @@ | |||
1 | require "test_helper" | ||
2 | |||
3 | module Lingo | ||
4 | class ScoresControllerTest < ActionDispatch::IntegrationTest | ||
5 | include Engine.routes.url_helpers | ||
6 | |||
7 | test "should get index" do | ||
8 | get scores_index_url | ||
9 | assert_response :success | ||
10 | end | ||
11 | |||
12 | test "should get update" do | ||
13 | get scores_update_url | ||
14 | assert_response :success | ||
15 | end | ||
16 | end | ||
17 | end | ||