Mostly working state

This commit is contained in:
2026-07-28 22:05:33 -06:00
parent f497329169
commit f62ce57279
6 changed files with 79 additions and 209 deletions
+10 -3
View File
@@ -1,7 +1,14 @@
require "test_helper"
class DashboardControllerTest < ActionDispatch::IntegrationTest
# test "the truth" do
# assert true
# end
test "options returns JSON" do
get "/dashboard/options",
params: {
table: 'Joint',
pluck_column: 'Joint'
}
assert_response :success
assert_equal "application/json", response.media_type
end
end