Sha256: eef2b713ef24c4f028f54d2e78398bc5ca56031debda734e26447cadf1fa88e4
Contents?: true
Size: 636 Bytes
Versions: 1
Compression:
Stored size: 636 Bytes
Contents
# 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'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
compages-0.4.0 | vendor/plugins/unobtrusive_javascript/test/lib/ptk/boot.rb |