summaryrefslogtreecommitdiff
path: root/spec/ruby/library/yaml/shared/load.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/yaml/shared/load.rb')
-rw-r--r--spec/ruby/library/yaml/shared/load.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/yaml/shared/load.rb b/spec/ruby/library/yaml/shared/load.rb
index 1ebe08be2c..bd55332fe5 100644
--- a/spec/ruby/library/yaml/shared/load.rb
+++ b/spec/ruby/library/yaml/shared/load.rb
@@ -106,7 +106,7 @@ describe :yaml_load_unsafe, shared: true do
Date.new( 2001, 8, 12 ),
Date.new( 2001, 8, 14 ) ]
}
- YAML.send(@method, $complex_key_1).should == expected
+ YAML.send(@method, YAMLSpecs::COMPLEX_KEY_1).should == expected
end
describe "with iso8601 timestamp" do