Sha256: fbb7a0c6f21340323e9c34080b081a1abd517f944dd7c60ba88c305af8c6c305

Contents?: true

Size: 293 Bytes

Versions: 5

Compression:

Stored size: 293 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

  assert_methods_are_deterministic(FFaker::Boolean, :maybe)

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ffaker-2.23.0 test/test_boolean.rb
ffaker-2.22.0 test/test_boolean.rb
ffaker-2.21.0 test/test_boolean.rb
ffaker-2.20.0 test/test_boolean.rb
ffaker-2.19.0 test/test_boolean.rb