diff options
Diffstat (limited to 'spec/ruby/library/yaml')
-rw-r--r-- | spec/ruby/library/yaml/shared/each_document.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/yaml/to_yaml_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/yaml/shared/each_document.rb b/spec/ruby/library/yaml/shared/each_document.rb index 5d9d240005..999123dc2a 100644 --- a/spec/ruby/library/yaml/shared/each_document.rb +++ b/spec/ruby/library/yaml/shared/each_document.rb @@ -1,5 +1,5 @@ describe :yaml_each_document, shared: true do - it "calls the block on each succesive document" do + it "calls the block on each successive document" do documents = [] YAML.send(@method, $multidocument) do |doc| documents << doc diff --git a/spec/ruby/library/yaml/to_yaml_spec.rb b/spec/ruby/library/yaml/to_yaml_spec.rb index d129fe2d79..afe583d502 100644 --- a/spec/ruby/library/yaml/to_yaml_spec.rb +++ b/spec/ruby/library/yaml/to_yaml_spec.rb @@ -46,7 +46,7 @@ describe "Object#to_yaml" do nil_klass.to_yaml.should match_yaml("--- \n") end - it "returns the YAML represenation of a RegExp object" do + it "returns the YAML representation of a RegExp object" do Regexp.new('^a-z+:\\s+\w+').to_yaml.should match_yaml("--- !ruby/regexp /^a-z+:\\s+\\w+/\n") end |