mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
49 lines
1.3 KiB
Ruby
49 lines
1.3 KiB
Ruby
require 'test_helper'
|
|
|
|
class DocumentAnalysesControllerTest < ActionDispatch::IntegrationTest
|
|
# setup do
|
|
# @document_analysis = document_analyses(:one)
|
|
# end
|
|
|
|
# test "should get index" do
|
|
# get document_analyses_url
|
|
# assert_response :success
|
|
# end
|
|
|
|
# test "should get new" do
|
|
# get new_document_analysis_url
|
|
# assert_response :success
|
|
# end
|
|
|
|
# test "should create document_analysis" do
|
|
# assert_difference('DocumentAnalysis.count') do
|
|
# post document_analyses_url, params: { document_analysis: { } }
|
|
# end
|
|
|
|
# assert_redirected_to document_analysis_url(DocumentAnalysis.last)
|
|
# end
|
|
|
|
# test "should show document_analysis" do
|
|
# get document_analysis_url(@document_analysis)
|
|
# assert_response :success
|
|
# end
|
|
|
|
# test "should get edit" do
|
|
# get edit_document_analysis_url(@document_analysis)
|
|
# assert_response :success
|
|
# end
|
|
|
|
# test "should update document_analysis" do
|
|
# patch document_analysis_url(@document_analysis), params: { document_analysis: { } }
|
|
# assert_redirected_to document_analysis_url(@document_analysis)
|
|
# end
|
|
|
|
# test "should destroy document_analysis" do
|
|
# assert_difference('DocumentAnalysis.count', -1) do
|
|
# delete document_analysis_url(@document_analysis)
|
|
# end
|
|
|
|
# assert_redirected_to document_analyses_url
|
|
# end
|
|
end
|