diff options
Diffstat (limited to 'test/controllers/api/v1/blog_controller_test.rb')
| -rw-r--r-- | test/controllers/api/v1/blog_controller_test.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/controllers/api/v1/blog_controller_test.rb b/test/controllers/api/v1/blog_controller_test.rb new file mode 100644 index 0000000..e381f63 --- /dev/null +++ b/test/controllers/api/v1/blog_controller_test.rb @@ -0,0 +1,23 @@ +require "test_helper" + +class Api::V1::BlogControllerTest < ActionDispatch::IntegrationTest + test "should get index" do + get api_v1_blog_index_url + assert_response :success + end + + test "should get create" do + get api_v1_blog_create_url + assert_response :success + end + + test "should get show" do + get api_v1_blog_show_url + assert_response :success + end + + test "should get destroy" do + get api_v1_blog_destroy_url + assert_response :success + end +end |
