diff options
author | Josef Stribny <jstribny@redhat.com> | 2015-04-02 16:57:49 +0200 |
---|---|---|
committer | Josef Stribny <jstribny@redhat.com> | 2015-04-02 17:09:24 +0200 |
commit | 097ac2045a308d76593a27651f17cc43e5dc102b (patch) | |
tree | fda76eef3823c19581004ac30abf005cfeb80016 | |
parent | 71003d63b6e217625450b0942a7afb8d7d1d14d9 (diff) | |
download | rails-097ac2045a308d76593a27651f17cc43e5dc102b.tar.gz rails-097ac2045a308d76593a27651f17cc43e5dc102b.tar.bz2 rails-097ac2045a308d76593a27651f17cc43e5dc102b.zip |
Do not depend on Rails git repository layout in ActiveSupport tests
-rw-r--r-- | activesupport/test/dependencies_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/dependencies_test.rb b/activesupport/test/dependencies_test.rb index 702e26859a..4a1d90bfd6 100644 --- a/activesupport/test/dependencies_test.rb +++ b/activesupport/test/dependencies_test.rb @@ -160,7 +160,7 @@ class DependenciesTest < ActiveSupport::TestCase def test_ensures_the_expected_constant_is_defined with_autoloading_fixtures do e = assert_raise(LoadError) { Typo } - assert_match %r{Unable to autoload constant Typo, expected .*activesupport/test/autoloading_fixtures/typo.rb to define it}, e.message + assert_match %r{Unable to autoload constant Typo, expected .*/test/autoloading_fixtures/typo.rb to define it}, e.message end end @@ -178,7 +178,7 @@ class DependenciesTest < ActiveSupport::TestCase assert_equal 1, TypO e = assert_raise(LoadError) { Typo } - assert_match %r{Unable to autoload constant Typo, expected .*activesupport/test/autoloading_fixtures/typo.rb to define it}, e.message + assert_match %r{Unable to autoload constant Typo, expected .*/test/autoloading_fixtures/typo.rb to define it}, e.message end end |