Add: image database table, image test site, image upload support
This commit is contained in:
parent
73d63f92e4
commit
982b72494c
13 changed files with 207 additions and 1 deletions
23
test/controllers/test/images_controller_test.rb
Normal file
23
test/controllers/test/images_controller_test.rb
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
require "test_helper"
|
||||
|
||||
class Test::ImagesControllerTest < ActionDispatch::IntegrationTest
|
||||
test "should get index" do
|
||||
get test_images_index_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get new" do
|
||||
get test_images_new_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get create" do
|
||||
get test_images_create_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get show" do
|
||||
get test_images_show_url
|
||||
assert_response :success
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue