aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/module/fixtures/autoload_concur.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/module/fixtures/autoload_concur.rb')
-rw-r--r--spec/ruby/core/module/fixtures/autoload_concur.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/ruby/core/module/fixtures/autoload_concur.rb b/spec/ruby/core/module/fixtures/autoload_concur.rb
new file mode 100644
index 0000000000..0585e36880
--- /dev/null
+++ b/spec/ruby/core/module/fixtures/autoload_concur.rb
@@ -0,0 +1,9 @@
+ScratchPad.recorded << :con_pre
+Thread.current[:in_autoload_rb] = true
+sleep 0.1
+
+module ModuleSpecs::Autoload
+ Concur = 1
+end
+
+ScratchPad.recorded << :con_post