Sha256: f64027116e472006af4b5331c46aaa64a19a0480de89ee491b92b1fb9e87911f

Contents?: true

Size: 341 Bytes

Versions: 4

Compression:

Stored size: 341 Bytes

Contents

require 'spec_helper'
module Alf
  class Adapter
    describe Connection, "migrate!" do
      let(:conn){ Connection.new(nil) }

      subject{ conn.migrate!(hello: "world") }

      it 'raises an NotSupportedError by default' do
        lambda{
          subject
        }.should raise_error(NotSupportedError)
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-adapter/connection/test_migrate.rb
alf-core-0.14.0 spec/unit/alf-adapter/connection/test_migrate.rb
alf-core-0.13.1 spec/unit/alf-adapter/connection/test_migrate.rb
alf-core-0.13.0 spec/unit/alf-adapter/connection/test_migrate.rb