tap/test/controllers/products_controller_test.rb
2014-11-10 15:52:54 +01:00

25 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 create" do
get :create
assert_response :success
end
test "should get edit" do
get :edit
assert_response :success
end
end