35 lines
552 B
Ruby
35 lines
552 B
Ruby
require 'test_helper'
|
|
|
|
class BotControllerTest < ActionController::TestCase
|
|
test "should get list" do
|
|
get :list
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get stats" do
|
|
get :stats
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get queue" do
|
|
get :queue
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get start" do
|
|
get :start
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get stop" do
|
|
get :stop
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get add" do
|
|
get :add
|
|
assert_response :success
|
|
end
|
|
|
|
end
|