mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 15:50:13 +01:00
Removed superfluous 'tracks' directory at the root of the repository.
Testing commits to github.
This commit is contained in:
parent
6a42901514
commit
4cbf5a34d3
2269 changed files with 0 additions and 0 deletions
17
vendor/plugins/selenium-on-rails/lib/selenium_on_rails/renderer.rb
vendored
Normal file
17
vendor/plugins/selenium-on-rails/lib/selenium_on_rails/renderer.rb
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
module SeleniumOnRails::Renderer
|
||||
include SeleniumOnRails::Paths
|
||||
include SeleniumHelper
|
||||
|
||||
def render_test_case filename
|
||||
@template.extend SeleniumOnRails::PartialsSupport
|
||||
@page_title = test_case_name filename
|
||||
output = render_to_string :file => filename
|
||||
layout = (output =~ /<html>/i ? false : layout_path)
|
||||
render :text => output, :layout => layout
|
||||
|
||||
headers['Cache-control'] = 'no-cache'
|
||||
headers['Pragma'] = 'no-cache'
|
||||
headers['Expires'] = '-1'
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue