diff options
Diffstat (limited to 'spec/ruby/library/yaml/to_yaml_spec.rb')
-rw-r--r-- | spec/ruby/library/yaml/to_yaml_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/ruby/library/yaml/to_yaml_spec.rb b/spec/ruby/library/yaml/to_yaml_spec.rb index 9713657a26..d73ae9bee4 100644 --- a/spec/ruby/library/yaml/to_yaml_spec.rb +++ b/spec/ruby/library/yaml/to_yaml_spec.rb @@ -13,8 +13,7 @@ describe "Object#to_yaml" do end it "returns the YAML representation of a Class object" do - FooBar.new("baz").to_yaml.should match_yaml("--- !ruby/object:FooBar\nname: baz\n") - + YAMLSpecs::Example.new("baz").to_yaml.should match_yaml("--- !ruby/object:YAMLSpecs::Example\nname: baz\n") end it "returns the YAML representation of a Date object" do |