24 lines
461 B
Ruby
24 lines
461 B
Ruby
require 'test_helper'
|
|
|
|
class PackagesControllerTest < ActionController::TestCase
|
|
test "should get index" do
|
|
get :index
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get with_screenshots" do
|
|
get :with_screenshots
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get without_screenshots" do
|
|
get :without_screenshots
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get moderate" do
|
|
get :moderate
|
|
assert_response :success
|
|
end
|
|
|
|
end
|