Sha256: efc7592bfbc17947a47bd97cccb28eb40a037f2cbc36dbccb53703551d7655b8

Contents?: true

Size: 297 Bytes

Versions: 9

Compression:

Stored size: 297 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

class TestBoolean < Test::Unit::TestCase
  include DeterministicHelper

  assert_methods_are_deterministic(FFakerTW::Boolean, :maybe)

  def test_maybe
    maybe = FFakerTW::Boolean.maybe
    assert [true, false].include?(maybe)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ffakerTW-1.8.0 test/test_boolean.rb
ffakerTW-1.7.0 test/test_boolean.rb
ffakerTW-1.6.0 test/test_boolean.rb
ffakerTW-1.5.0 test/test_boolean.rb
ffakerTW-1.4.0 test/test_boolean.rb
ffakerTW-1.3.0 test/test_boolean.rb
ffakerTW-1.2.0 test/test_boolean.rb
ffakerTW-1.1.0 test/test_boolean.rb
ffakerTW-0.1.0 test/test_boolean.rb