mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-10 11:18:51 +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
26
vendor/plugins/unobtrusive_javascript/test/lib/ptk/boot.rb
vendored
Normal file
26
vendor/plugins/unobtrusive_javascript/test/lib/ptk/boot.rb
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# We are always a test environment and should never be anything else
|
||||
ENV["RAILS_ENV"] ||= "test"
|
||||
|
||||
require File.join(File.dirname(__FILE__), 'ptk')
|
||||
|
||||
# Set up RAILS_ROOT to #{plugin_path}/test
|
||||
unless defined?(RAILS_ROOT)
|
||||
root_path = PTK::LoadPath.expand(__FILE__, '..', '..')
|
||||
|
||||
unless RUBY_PLATFORM =~ /mswin32/
|
||||
require 'pathname'
|
||||
root_path = Pathname.new(root_path).cleanpath(true).to_s
|
||||
end
|
||||
|
||||
RAILS_ROOT = root_path
|
||||
end
|
||||
|
||||
# add #{plugin_path}/test/lib
|
||||
PTK::LoadPath.add RAILS_ROOT, 'lib'
|
||||
|
||||
# add #{plugin_path}/lib
|
||||
PTK::LoadPath.add RAILS_ROOT, '..', 'lib'
|
||||
|
||||
require 'rubygems'
|
||||
require 'test/unit'
|
||||
require 'active_support'
|
||||
Loading…
Add table
Add a link
Reference in a new issue