debshots/test/controllers/json_controller_test.rb

24 lines
421 B
Ruby

require "test_helper"
class JsonControllerTest < ActionController::TestCase
def test_package
get :package
assert_response :success
end
def test_packages
get :packages
assert_response :success
end
def test_screenshots
get :screenshots
assert_response :success
end
def test_packages-without-screenshots
get :packages-without-screenshots
assert_response :success
end
end