From 0380a97230023a78ad08b738c4520e901485ed63 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 10 Dec 2022 09:29:30 -0500 Subject: Added Rails engine for scoreboard refs #13 --- rails/test/controllers/.keep | 0 rails/test/controllers/lingo/scores_controller_test.rb | 17 +++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 rails/test/controllers/.keep create mode 100644 rails/test/controllers/lingo/scores_controller_test.rb (limited to 'rails/test/controllers') diff --git a/rails/test/controllers/.keep b/rails/test/controllers/.keep new file mode 100644 index 0000000..e69de29 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 @@ +require "test_helper" + +module Lingo + class ScoresControllerTest < ActionDispatch::IntegrationTest + include Engine.routes.url_helpers + + test "should get index" do + get scores_index_url + assert_response :success + end + + test "should get update" do + get scores_update_url + assert_response :success + end + end +end -- cgit 1.4.1