Sha256: fa0d452c001fa1988d806d9d571872899d52637cae952bc6bbe3e089674e2a05

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 Bytes

Contents

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

describe CouchMigrate::FileMigrater, "#migrate" do

  it_should_behave_like "sequential_migrations" do
    subject { CouchMigrate::FileMigrater }
    let(:path){ Pathname.new("spec/tmp") }

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

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
couch-migrate-2.0.2 spec/couch_migrate/file_migrater_spec.rb
couch-migrate-1.1.3 spec/couch_migrate/file_migrater_spec.rb