Sha256: 058e469868c970a304bd0be2603d237145708f5ee254d3417b0a5e40597963e5

Contents?: true

Size: 417 Bytes

Versions: 2

Compression:

Stored size: 417 Bytes

Contents

# frozen_string_literal: true

RSpec::Matchers.define :be_correctly_populated do
  match do |actual|
    actual.populate == true
  end
  description do
    'be effectively populated.'
  end
  failure_message do |_actual|
    "expected database populate response to be true \ngot : false "
  end
  failure_message_when_negated do |_actual|
    "expected database populate 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_populated.rb
fixturizer-0.4.3 lib/fixturizer/rspec/matchers/database_be_correctly_populated.rb