Sha256: f5de62007527960333aa05fd8aaa6e240cb940e0994391828cbc50dd381ac8d3
Contents?: true
Size: 379 Bytes
Versions: 6
Compression:
Stored size: 379 Bytes
Contents
require 'spec_helper' require 'rom/memory' describe ROM::Memory::Commands::Update do include_context 'users and tasks' subject(:command) { ROM::Memory::Commands::Update.build(users) } let(:users) { rom.relations[:users] } before do setup.relation(:users) do def by_id(id) restrict(id: id) end end end it_behaves_like 'a command' end
Version data entries
6 entries across 6 versions & 1 rubygems