Sha256: 1c7b435efd454a73e96a11f9685ff5790e017bcda5121f19568835d168927b75

Contents?: true

Size: 404 Bytes

Versions: 2

Compression:

Stored size: 404 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe "ImportEverything" do
  describe YamlParser do
    let(:parser) do
      YamlParser.new(:filename => spec_file('database.yml'), :table => 'database')
    end
    it 'size' do
      parser.value_hashes.should size(3)
    end
    it 'first root' do
      parser.value_hashes[0]["root"].should == 'development'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
import_everything-0.1.6 spec/parsers/yaml_parser_spec.rb
import_everything-0.1.5 spec/parsers/yaml_parser_spec.rb