Sha256: 137f8de7ad02d428b828cd082328a89e9fafa675fc0b43305e72f17961e482f7
Contents?: true
Size: 458 Bytes
Versions: 6
Compression:
Stored size: 458 Bytes
Contents
require 'spec_helper' describe Nutmeg::TreeFromYaml do before(:each) do @tree_from_yaml = Nutmeg::TreeFromYaml.new({file: [Dir.pwd, "/spec/files/tree.yml"].join}) end describe "#initialize" do it "verifies initialize works correctly" do expect(@tree_from_yaml.tree_hash.class).to eq(Array) expect(@tree_from_yaml.tree_hash.first.class).to eq(Hash) expect(@tree_from_yaml.tree.class).to eq(Nutmeg::TagTree) end end end
Version data entries
6 entries across 6 versions & 1 rubygems