Sha256: ab21e5cf734b8f3cfab133e9340e02f32ff1784ce261ded78a83cc9154040526
Contents?: true
Size: 326 Bytes
Versions: 6
Compression:
Stored size: 326 Bytes
Contents
# encoding: UTF-8 RSpec::Matchers.define :have_been_destroyed do match do |actual| !actual.class.where(id: actual.id).exists? end description do "model should have been destroyed" end failure_message_for_should do |actual| "expected #{actual.class}(id: #{actual.id}) to have been destroyed" end end
Version data entries
6 entries across 6 versions & 1 rubygems