Bot controller
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
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
|
||||
Reference in New Issue
Block a user