Sha256: 057a046931b88356dbfbba23b0ee66b071c57a4e3bcb30abd94bef2ccbce21ed
Contents?: true
Size: 333 Bytes
Versions: 17
Compression:
Stored size: 333 Bytes
Contents
require 'spec_helper' describe 'User commands' do subject(:users) { rom.command(:users) } describe 'delete' do it 'deletes record' do rom.relations.users.insert(name: 'Piotr', email: 'piotr@test.com') result = users.try { users.delete.by_name('Piotr') } expect(result.error).to be(nil) end end end
Version data entries
17 entries across 17 versions & 1 rubygems