Sha256: 78062e6491ddf06affdf0389dfb6160effc4f52643b2de30f8d84769dbbcde54
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
require 'lib/databasion' Given /a complete set of YAML definitions/ do @config = YAML.load(File.open('config/google.yml')) @parse_data = load_parse_data end When /the YAML files are parsed/ do Databasion::YamlBuilder.run(@parse_data, @config['output']['yaml_path']) end Then /the result is Ruby migration files/ do File.exist?("%s/%s.yml" % [@config['output']['yaml_path'], @parse_data['name']]).should == true FileUtils.rm_rf @config['output']['yaml_path'] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
databasion-0.1.1 | features/step_definitions/yaml_builder_steps.rb |