Sha256: c23cd88ed37657c111277401bc01c8bf4a8b41a5264451fbea39b109ec04ed25
Contents?: true
Size: 460 Bytes
Versions: 4
Compression:
Stored size: 460 Bytes
Contents
require 'update_helper' module Alf module Update describe Inserter, 'not_matching' do let(:expr) { not_matching(suppliers, parts) } let(:inserted) { [ {:sid => 1 } ] } let(:expected) { [ {:sid => 1 } ] } subject{ insert(expr, inserted) } it 'requests the insertion of the tuples on :suppliers' do subject db_context.requests.should eq([ [:insert, :suppliers, expected ] ]) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems