Sha256: e136310e2d748e7d1caaa93a9de0cb28437afc9b96e5d0f8b1190d4ee929c630

Contents?: true

Size: 407 Bytes

Versions: 1

Compression:

Stored size: 407 Bytes

Contents

module SeleniumCoreRunner
  class SuitesController < ApplicationController
    def index
    end

    def show
      path = params[:suite]
      if params[:case].blank?
        path = params[:suite]+".html"
      else
        path = params[:suite]+"/"+params[:case]
      end
      open(Rails.root.to_s+"/test/selenium/#{path}") {|f|
        render :text=>f.read , :layout=>false
      }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
selenium-core-runner-0.0.3 app/controllers/selenium_core_runner/suites_controller.rb