aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/yaml/fixtures/common.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/yaml/fixtures/common.rb')
-rw-r--r--spec/ruby/library/yaml/fixtures/common.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/ruby/library/yaml/fixtures/common.rb b/spec/ruby/library/yaml/fixtures/common.rb
new file mode 100644
index 0000000000..1d868806f1
--- /dev/null
+++ b/spec/ruby/library/yaml/fixtures/common.rb
@@ -0,0 +1,10 @@
+begin
+ require 'syck'
+rescue LoadError
+ # do nothing
+end
+
+require 'yaml'
+
+$test_file = tmp("yaml_test_file")
+$test_parse_file = File.dirname(__FILE__) + "/test_yaml.yml"