Sha256: 00c6c50bd95593cc9624c3581bed65881db195403680350da11ccdae49fffadb

Contents?: true

Size: 481 Bytes

Versions: 1

Compression:

Stored size: 481 Bytes

Contents

require 'spec_helper'

describe ConfigParser do
  it "parse my test database.yml file" do
    config = ConfigParser.rails("spec/database.yml", "test")
    config.should == {
            :dbname => "pg_migrate_test",
            :user => "postgres",
            :password => "postgres",
            :host => "localhost",
            :port => 5432
    }
  end
  
  it "run single migration" do
    config = ConfigParser.rails("spec/database.yml", "test")
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pg_migrate-0.1.11 spec/pg_migrate/config_parser_spec.rb