Sha256: 26aa0d110e5f8afc8947fba2a67d32ea9203adc7b5d682e648f33b654250d93c

Contents?: true

Size: 183 Bytes

Versions: 8

Compression:

Stored size: 183 Bytes

Contents

# encoding: utf-8

require 'helper'

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

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/ffaker-1.32.1/test/test_boolean.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/ffaker-1.32.1/test/test_boolean.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/ffaker-1.32.1/test/test_boolean.rb
ffaker-1.32.1 test/test_boolean.rb
ffaker-1.32.0 test/test_boolean.rb
ffaker-1.31.0 test/test_boolean.rb
ffaker-1.30.0 test/test_boolean.rb
ffaker-1.25.0 test/test_boolean.rb