uploads: fix more tests.
This commit is contained in:
10
test/components/file_upload_component_test.rb
Normal file
10
test/components/file_upload_component_test.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
require "test_helper"
|
||||
|
||||
class FileUploadComponentTest < ViewComponent::TestCase
|
||||
context "The FileUploadComponent" do
|
||||
should "render" do
|
||||
render_inline(FileUploadComponent.new)
|
||||
assert_text("Choose file")
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user