Sha256: 4d08a1a98d4c5043791a3326e53e1ec30c0abb3dcda2593adaebd49a27789d79

Contents?: true

Size: 401 Bytes

Versions: 2

Compression:

Stored size: 401 Bytes

Contents

# frozen_string_literal: true

RSpec::Matchers.define :be_correctly_dropped do
  match do |actual|
    actual.drop == true
  end
  description do
    'be effectively dropped.'
  end
  failure_message do |_actual|
    "expected database drop response to be true \ngot : false "
  end
  failure_message_when_negated do |_actual|
    "expected database drop response to be false \ngot : true "
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fixturizer-0.4.4 lib/fixturizer/rspec/matchers/database_be_correctly_dropped.rb
fixturizer-0.4.3 lib/fixturizer/rspec/matchers/database_be_correctly_dropped.rb