Sha256: 0647b7ebda531881160f01928efe6712b212ae38b07c6baa86d9425b5b1a1c02
Contents?: true
Size: 451 Bytes
Versions: 4
Compression:
Stored size: 451 Bytes
Contents
describe ROM::HTTP::Commands::Delete do include_context 'users and tasks' subject(:command) { ROM::HTTP::Commands::Delete.build(users) } let(:users_relation_klass) do Class.new(ROM::HTTP::Relation) do dataset :users def by_id(id) with_params(id: id) end end end let(:users) { rom.relations[:users] } before do setup.register_relation(users_relation_klass) end it_behaves_like 'a command' end
Version data entries
4 entries across 4 versions & 1 rubygems