Sha256: 6e602eca247c00721b0cc69cceed714b6ffcc9d659ff20801be0df4c14a571ba
Contents?: true
Size: 293 Bytes
Versions: 1
Compression:
Stored size: 293 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe FrontMatterParser::Loader::Yaml do describe '::call' do it 'loads using yaml parser' do string = "title: 'hello'" expect(described_class.call(string)).to eq( 'title' => 'hello' ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
front_matter_parser-0.1.1 | spec/front_matter_parser/loader/yaml_spec.rb |