Sha256: 2226ea804c9dbe22bd4962ca70ed213a3d24630c0626ef2e9879f537c5634211

Contents?: true

Size: 320 Bytes

Versions: 7

Compression:

Stored size: 320 Bytes

Contents

require 'test_helpers'
describe "Migrations with a folder adapter" do

  let(:db){
    Alf.database(Path.dir)
  }

  subject{
    db.connect{|conn| conn.migrate! }
  }

  it 'fails with an not supported error' do
    lambda{
      subject
    }.should raise_error(Alf::NotSupportedError, /Unable to migrate/)
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alf-0.16.3 spec/migrations/test_folder_migration.rb
alf-0.16.2 spec/migrations/test_folder_migration.rb
alf-0.16.1 spec/migrations/test_folder_migration.rb
alf-0.16.0 spec/migrations/test_folder_migration.rb
alf-0.15.0 spec/migrations/test_folder_migration.rb
alf-0.14.0 test/migrations/test_folder_migration.rb
alf-0.13.0 test/migrations/test_folder_migration.rb