# Copyright (C) 2012-2013 Zammad Foundation, http://zammad-foundation.org/

class TestsController < ApplicationController

  # GET /test
  def index
    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
