Sha256: 86184999a2520fe9f03320b9f1ccdd2be02b2e7be6dd96b22fd4c80341118b8d

Contents?: true

Size: 364 Bytes

Versions: 7

Compression:

Stored size: 364 Bytes

Contents

require 'spec_helper'
module Alf
  module Sequel
    describe Connection, 'delete' do

      let(:conn){ sap_memory }

      subject{ conn.delete(:suppliers, Predicate.tautology) }

      it 'returns a UnitOfWork::Delete' do
        subject.should be_a(UnitOfWork::Delete)
      end

      it 'is ran' do
        subject.should be_ran
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alf-sequel-0.16.3 spec/connection/test_delete.rb
alf-sequel-0.16.2 spec/connection/test_delete.rb
alf-sequel-0.16.1 spec/connection/test_delete.rb
alf-sequel-0.16.0 spec/connection/test_delete.rb
alf-sequel-0.15.0 spec/connection/test_delete.rb
alf-sequel-0.14.0 spec/connection/test_delete.rb
alf-sequel-0.13.0 spec/connection/test_delete.rb