mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-21 09:40: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
25
vendor/plugins/unobtrusive_javascript/test/test_helper.rb
vendored
Normal file
25
vendor/plugins/unobtrusive_javascript/test/test_helper.rb
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
ENV["RAILS_ENV"] = "test"
|
||||
|
||||
# load plugin test kit
|
||||
require File.join(File.dirname(__FILE__), 'ptk_helper')
|
||||
|
||||
# load stubba and other stubs
|
||||
require 'stubba'
|
||||
require 'stubs/controller_stub'
|
||||
|
||||
# load plugin files
|
||||
require 'actionview_helpers_patches'
|
||||
require 'prototype_helper_patches'
|
||||
require 'scriptaculous_helper_patches'
|
||||
require 'asset_tag_helper_patches'
|
||||
require 'tag_helper_patches'
|
||||
require 'behaviour_caching'
|
||||
|
||||
$:.unshift(File.join(File.dirname(__FILE__), '../lib/'))
|
||||
|
||||
def initialize_test_request
|
||||
@controller = ControllerStub.new
|
||||
@request = ActionController::TestRequest.new
|
||||
@response = ActionController::TestResponse.new
|
||||
get :index
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue