test-loop 11.0.0 → 11.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/test/loop/support/rails.rb +3 -3
- metadata +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
if defined? Rails
|
1
|
+
if defined? Rails
|
2
2
|
Test::Loop.reabsorb_file_globs.push(
|
3
3
|
'config/**/*.{rb,yml}',
|
4
4
|
'test/factories/*.rb',
|
@@ -8,8 +8,8 @@ if defined? Rails::VERSION
|
|
8
8
|
Test::Loop.test_file_matchers['app/**/*.rb'] =
|
9
9
|
Test::Loop.test_file_matchers['lib/**/*.rb']
|
10
10
|
|
11
|
-
|
12
|
-
|
11
|
+
if defined? Rails::Railtie
|
12
|
+
Class.new Rails::Railtie do
|
13
13
|
config.before_initialize do |app|
|
14
14
|
if app.config.cache_classes
|
15
15
|
warn "test-loop: Setting #{app.class}.config.cache_classes = false"
|