summary refs log tree commit diff stats
path: root/rails/test/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'rails/test/controllers')
-rw-r--r--rails/test/controllers/.keep0
-rw-r--r--rails/test/controllers/lingo/scores_controller_test.rb17
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 @@
1require "test_helper"
2
3module 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
17end