Sha256: b728ff704faf788bb9e9a95918b97bfc16c3a4ce50e8498098b1ee6a90b9c30f

Contents?: true

Size: 367 Bytes

Versions: 7

Compression:

Stored size: 367 Bytes

Contents

describe SengiriYaml::Loader do
  let(:loader){ SengiriYaml::Loader.new }

  describe "#load_dir" do
    subject{ loader.load_dir(fixture_dir) }

    let(:fixture_dir){ "#{spec_dir}/fixtures/loader" }
    let(:merged_hash) do
      {
        'data1' => { 'value' => 1 },
        'data2' => { 'value' => 2 },
      }
    end

    it{ should eq merged_hash }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sengiri_yaml-1.0.0 spec/sengiri_yaml/loader_spec.rb
sengiri_yaml-1.0.0.rc1 spec/sengiri_yaml/loader_spec.rb
sengiri_yaml-0.0.4 spec/sengiri_yaml/loader_spec.rb
sengiri_yaml-0.0.3 spec/sengiri_yaml/loader_spec.rb
sengiri_yaml-0.0.2 spec/sengiri_yaml/loader_spec.rb
sengiri_yaml-0.0.1 spec/sengiri_yaml/loader_spec.rb
sengiri_yaml-0.0.1.beta1 spec/sengiri_yaml/loader_spec.rb