Sha256: 25843fd6833c9bdc6d6d15636997fc3ae07f3188547e3327dd276bc803aae0f5
Contents?: true
Size: 409 Bytes
Versions: 4
Compression:
Stored size: 409 Bytes
Contents
require 'update_helper' module Alf module Update describe Deleter, 'project' do let(:expr) { project(suppliers, [:name]) } let(:predicate){ Predicate.eq(:name => "Jones") } subject{ delete(expr, predicate) } it 'requests the deletion on :suppliers' do subject db_context.requests.should eq([ [:delete, :suppliers, predicate] ]) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems