Sha256: 86da1e79dfca9c714297c4e00747168c62ae3d27311afe18c1afb6b77b8a99f2
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
require 'update_helper' module Alf module Update describe Updater, 'identifier' do let(:expr) { suppliers } let(:updating) { {:city => "London"} } let(:predicate){ Predicate.eq(:id, 1) } subject{ update(expr, updating, predicate) } it 'requests the insertion of the tuples on :suppliers' do subject db_context.requests.should eq([ [:update, :suppliers, updating, predicate] ]) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alf-core-0.15.0 | spec/unit/alf-update/updater/test_identifier.rb |