Skip to content

Commit

Permalink
- Scrub !!null from generated YAML for gems generated by 1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
drbrain authored and lsegal committed May 14, 2011
1 parent f04e27b commit b7c98e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_gem_specification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,9 @@ def test_to_ruby_platform

def test_to_yaml
yaml_str = @a1.to_yaml

refute_match '!!null', yaml_str

same_spec = YAML.load(yaml_str)

assert_equal @a1, same_spec
Expand Down

0 comments on commit b7c98e2

Please sign in to comment.