tap/test/controllers/products_controller_test.rb
2014-11-24 21:45:32 +01:00

24 lines
399 B
Ruby

require 'test_helper'
class ProductsControllerTest < ActionController::TestCase
test "should get new" do
get :new
assert_response :success
end
test "should get show" do
get :show
assert_response :success
end
test "should get edit" do
get :edit
assert_response :success
end
test "should get delete" do
get :delete
assert_response :success
end
end