forked from saurabh/personal-book
15 lines
240 B
Ruby
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
|