123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- # Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
- class TestsController < ApplicationController
- # GET /tests/core
- def core
- respond_to do |format|
- format.html # index.html.erb
- end
- end
- # GET /tests/ui
- def ui
- respond_to do |format|
- format.html # index.html.erb
- end
- end
- # GET /tests/from
- def form
- respond_to do |format|
- format.html # index.html.erb
- end
- end
- # GET /tests/from_extended
- def form
- respond_to do |format|
- format.html # index.html.erb
- end
- end
- # GET /tests/table
- def table
- respond_to do |format|
- format.html # index.html.erb
- end
- end
- # GET /tests/html_utils
- def html_utils
- respond_to do |format|
- format.html # index.html.erb
- end
- end
- # GET /test/wait
- def wait
- sleep params[:sec].to_i
- result = { :success => true }
- render :json => result
- end
- end
|