Sha256: 95cf8515598baf217f46835fe717b6c6704d22749ed589bd49881cd988b83b87

Contents?: true

Size: 378 Bytes

Versions: 7

Compression:

Stored size: 378 Bytes

Contents

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

      let(:conn){ sap_memory }

      subject{ conn.update(:suppliers, {status: 10}, Predicate.tautology) }

      it 'returns a UnitOfWork::Update' do
        subject.should be_a(UnitOfWork::Update)
      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_update.rb
alf-sequel-0.16.2 spec/connection/test_update.rb
alf-sequel-0.16.1 spec/connection/test_update.rb
alf-sequel-0.16.0 spec/connection/test_update.rb
alf-sequel-0.15.0 spec/connection/test_update.rb
alf-sequel-0.14.0 spec/connection/test_update.rb
alf-sequel-0.13.0 spec/connection/test_update.rb