Class: Jasminerice::SpecController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Jasminerice::SpecController
- Defined in:
- app/controllers/jasminerice/spec_controller.rb
Instance Method Summary collapse
Instance Method Details
#fixtures ⇒ Object
18 19 20 |
# File 'app/controllers/jasminerice/spec_controller.rb', line 18 def fixtures render "#{Jasminerice.fixture_path}/#{params[:filename]}" end |
#index ⇒ Object
13 14 15 16 |
# File 'app/controllers/jasminerice/spec_controller.rb', line 13 def index @specsuite = params[:suite].try(:concat, "_spec") || "spec" @asset_options = %w(true false).include?(params[:debug]) ? { :debug => params[:debug] == 'true' } : {} end |