Sha256: 87c2c29cb84c40c3c19521acb851f8b023f95c74e4697b566c1dbfd233288d21

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
require 'couch-migrate'
require_relative 'shared_sequential_migrations'

describe CouchMigrate::CouchMigrater, "#migrate" do

  it_should_behave_like "sequential_migrations" do
    subject { CouchMigrate::CouchMigrater }

    let(:path){ Pathname.new("spec/tmp") }
    let(:db_path) { 'http://127.0.0.1:5984/couch-migrate_test' }

    def migrater
      # allows new migrations to be picked up
      subject.new(db_path, path)
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
couch-migrate-1.1.3 spec/couch_migrate/couch_migrater_spec.rb