personal-book/test/controllers/books_controller_test.rb

15 lines
240 B
Ruby

require 'test_helper'
class BooksControllerTest < ActionController::TestCase
test "should get index" do
get :index
assert_response :success
end
test "should get show" do
get :show
assert_response :success
end
end