24 lines
399 B
Ruby
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
|