tuxwebror/test/controllers/categories_controller_test.rb

35 lines
654 B
Ruby
Raw Normal View History

2018-12-21 19:06:39 +01:00
require 'test_helper'
class CategoriesControllerTest < ActionDispatch::IntegrationTest
test "should get index" do
get categories_index_url
assert_response :success
end
test "should get show" do
get categories_show_url
assert_response :success
end
test "should get update" do
get categories_update_url
assert_response :success
end
test "should get destroy" do
get categories_destroy_url
assert_response :success
end
test "should get new" do
get categories_new_url
assert_response :success
end
test "should get edit" do
get categories_edit_url
assert_response :success
end
end