diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 09:29:30 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 09:29:30 -0500 |
commit | 0380a97230023a78ad08b738c4520e901485ed63 (patch) | |
tree | 2f3b4e91453962fd5bb36cf652c808cb7f41c3a7 /rails/test/controllers | |
parent | 6af7b09fa551c6cc980bb54fefd1db88c904654f (diff) | |
download | lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.gz lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.bz2 lingo-0380a97230023a78ad08b738c4520e901485ed63.zip |
Added Rails engine for scoreboard
refs #13
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 | ||