test/controllers/comment_controller_test.rb

Summary

Maintainability
A
35 mins
Test Coverage
require 'test_helper'

class CommentControllerTest < ActionController::TestCase
  test "should get index" do
    get :index
    assert_response :success
  end

  test "should get edit" do
    get :edit
    assert_response :success
  end

  test "should get update" do
    get :update
    assert_response :success
  end

  test "should get create" do
    get :create
    assert_response :success
  end

end