Sha256: a56be2aeb24ec45abaeabe4147926fc4a702b6e329336b527164be7de37ae4a2
Contents?: true
Size: 434 Bytes
Versions: 7
Compression:
Stored size: 434 Bytes
Contents
require 'spec_helper' require 'rom/memory' describe ROM::Memory::Commands::Update do include_context 'container' include_context 'users and tasks' before do configuration.relation(:users) do def by_id(id) restrict(id: id) end end configuration.commands(:users) do define(:update) end end subject(:command) { container.command(:users).update } it_behaves_like 'a command' end
Version data entries
7 entries across 7 versions & 1 rubygems