Sha256: 5cfab52bdd06a94fe872ba3a1cfc87185c0fed58fd55f0411f2ec4074923504f

Contents?: true

Size: 80 Bytes

Versions: 26

Compression:

Stored size: 80 Bytes

Contents

Spec::Matchers.define(:be_truthy) do
  match do |object|
    !!object
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
mongomodel-0.3.3 spec/support/matchers/be_truthy.rb
mongomodel-0.3.2 spec/support/matchers/be_truthy.rb
mongomodel-0.3.1 spec/support/matchers/be_truthy.rb
mongomodel-0.3.0 spec/support/matchers/be_truthy.rb
mongomodel-0.2.20 spec/support/matchers/be_truthy.rb
mongomodel-0.2.19 spec/support/matchers/be_truthy.rb
mongomodel-0.2.18 spec/support/matchers/be_truthy.rb
mongomodel-0.2.17 spec/support/matchers/be_truthy.rb
mongomodel-0.2.16 spec/support/matchers/be_truthy.rb
mongomodel-0.2.15 spec/support/matchers/be_truthy.rb
mongomodel-0.2.14 spec/support/matchers/be_truthy.rb
mongomodel-0.2.13 spec/support/matchers/be_truthy.rb
mongomodel-0.2.12 spec/support/matchers/be_truthy.rb
mongomodel-0.2.11 spec/support/matchers/be_truthy.rb
mongomodel-0.2.10 spec/support/matchers/be_truthy.rb
mongomodel-0.2.9 spec/support/matchers/be_truthy.rb
mongomodel-0.2.8 spec/support/matchers/be_truthy.rb
mongomodel-0.2.7 spec/support/matchers/be_truthy.rb
mongomodel-0.2.6 spec/support/matchers/be_truthy.rb
mongomodel-0.2.5 spec/support/matchers/be_truthy.rb