|
|
06e69c |
From c0bd31bca02b7e0cd984683c2826fadd2fb55d29 Mon Sep 17 00:00:00 2001
|
|
|
06e69c |
From: Josef Stribny <jstribny@redhat.com>
|
|
|
06e69c |
Date: Thu, 2 Apr 2015 15:41:46 +0200
|
|
|
06e69c |
Subject: [PATCH] Do not depend on Rails git repo layout
|
|
|
06e69c |
|
|
|
06e69c |
---
|
|
|
06e69c |
activesupport/test/dependencies_test.rb | 4 ++--
|
|
|
06e69c |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
06e69c |
|
|
|
06e69c |
diff --git a/activesupport/test/dependencies_test.rb b/activesupport/test/dependencies_test.rb
|
|
|
06e69c |
index 96e9bd1..8e59d10 100644
|
|
|
06e69c |
--- a/activesupport/test/dependencies_test.rb
|
|
|
06e69c |
+++ b/activesupport/test/dependencies_test.rb
|
|
|
06e69c |
@@ -162,7 +162,7 @@ class DependenciesTest < ActiveSupport::TestCase
|
|
|
06e69c |
def test_ensures_the_expected_constant_is_defined
|
|
|
06e69c |
with_autoloading_fixtures do
|
|
|
06e69c |
e = assert_raise(LoadError) { Typo }
|
|
|
06e69c |
- assert_match %r{Unable to autoload constant Typo, expected .*activesupport/test/autoloading_fixtures/typo.rb to define it}, e.message
|
|
|
06e69c |
+ assert_match %r{Unable to autoload constant Typo, expected .*/test/autoloading_fixtures/typo.rb to define it}, e.message
|
|
|
06e69c |
end
|
|
|
06e69c |
end
|
|
|
06e69c |
|
|
|
06e69c |
@@ -180,7 +180,7 @@ class DependenciesTest < ActiveSupport::TestCase
|
|
|
06e69c |
assert_equal 1, TypO
|
|
|
06e69c |
|
|
|
06e69c |
e = assert_raise(LoadError) { Typo }
|
|
|
06e69c |
- assert_match %r{Unable to autoload constant Typo, expected .*activesupport/test/autoloading_fixtures/typo.rb to define it}, e.message
|
|
|
06e69c |
+ assert_match %r{Unable to autoload constant Typo, expected .*/test/autoloading_fixtures/typo.rb to define it}, e.message
|
|
|
06e69c |
end
|
|
|
06e69c |
end
|
|
|
06e69c |
|
|
|
06e69c |
--
|
|
|
06e69c |
2.1.0
|
|
|
06e69c |
|