2014-02-03 19:24:49 +00:00
|
|
|
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
2013-06-12 15:59:58 +00:00
|
|
|
|
2012-11-23 08:36:12 +00:00
|
|
|
class TestsController < ApplicationController
|
|
|
|
|
2013-07-10 06:46:59 +00:00
|
|
|
# GET /tests/core
|
|
|
|
def core
|
|
|
|
respond_to do |format|
|
|
|
|
format.html # index.html.erb
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2014-07-27 22:24:42 +00:00
|
|
|
# GET /tests/ui
|
|
|
|
def ui
|
|
|
|
respond_to do |format|
|
|
|
|
format.html # index.html.erb
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2013-07-10 06:46:59 +00:00
|
|
|
# GET /tests/from
|
|
|
|
def form
|
2012-11-23 08:36:12 +00:00
|
|
|
respond_to do |format|
|
|
|
|
format.html # index.html.erb
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2014-12-25 23:41:00 +00:00
|
|
|
# GET /tests/from_extended
|
|
|
|
def form
|
|
|
|
respond_to do |format|
|
|
|
|
format.html # index.html.erb
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2014-06-14 09:26:08 +00:00
|
|
|
# GET /tests/table
|
|
|
|
def table
|
|
|
|
respond_to do |format|
|
|
|
|
format.html # index.html.erb
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2012-11-23 08:36:12 +00:00
|
|
|
# GET /test/wait
|
|
|
|
def wait
|
|
|
|
sleep params[:sec].to_i
|
|
|
|
result = { :success => true }
|
|
|
|
render :json => result
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|