Sha256: 7b1af5a4744d23902703e2db29ccf3eca8083558f5c9955c57d4a954acd33ac1

Contents?: true

Size: 184 Bytes

Versions: 3

Compression:

Stored size: 184 Bytes

Contents

# encoding: utf-8

require 'helper'

class TestBoolean < Test::Unit::TestCase
  def test_maybe
    maybe = FFaker::Boolean.maybe
    assert (maybe == false || maybe == true)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ffaker-2.2.0 test/test_boolean.rb
ffaker-2.1.0 test/test_boolean.rb
ffaker-2.0.0 test/test_boolean.rb