mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #1221 from sikachu/fix_tests
Make sure that we're able to run Action Pack test standalone.
This commit is contained in:
commit
7124659f3e
2 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
require File.expand_path('../../../load_paths', __FILE__)
|
||||
require File.expand_path('../../../version', __FILE__)
|
||||
|
||||
lib = File.expand_path("#{File.dirname(__FILE__)}/../lib")
|
||||
$:.unshift(lib) unless $:.include?('lib') || $:.include?(lib)
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
require 'abstract_unit'
|
||||
|
||||
module Rails
|
||||
class Engine
|
||||
def self.initializer(*args); end
|
||||
end
|
||||
end
|
||||
|
||||
require 'sprockets'
|
||||
require 'mocha'
|
||||
|
||||
module Rails; end
|
||||
|
||||
class SprocketsHelperTest < ActionView::TestCase
|
||||
tests ActionView::Helpers::SprocketsHelper
|
||||
|
||||
|
|
Loading…
Reference in a new issue