mirror of
https://github.com/ryankazokas/turbovault-app.git
synced 2026-04-17 02:52:55 +00:00
Moving to github
This commit is contained in:
43
test/controllers/collections_controller_test.rb
Normal file
43
test/controllers/collections_controller_test.rb
Normal file
@@ -0,0 +1,43 @@
|
||||
require "test_helper"
|
||||
|
||||
class CollectionsControllerTest < ActionDispatch::IntegrationTest
|
||||
test "should get index" do
|
||||
get collections_index_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get show" do
|
||||
get collections_show_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get new" do
|
||||
get collections_new_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get create" do
|
||||
get collections_create_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get edit" do
|
||||
get collections_edit_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get update" do
|
||||
get collections_update_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get destroy" do
|
||||
get collections_destroy_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get games" do
|
||||
get collections_games_url
|
||||
assert_response :success
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user