Sha256: 649d83a93d0c8081e8b690cb68cc3ff85fd28057744f53980dec7d5c09642e51

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

require_relative '../../test_helper'

class TestFakerElectricalComponents < Test::Unit::TestCase
  def setup
    @tester = Faker::ElectricalComponents
  end

  def test_active
    assert @tester.active.match(/\w+/)
  end

  def test_passive
    assert @tester.passive.match(/\w+/)
  end

  def test_electromechanical
    assert @tester.electromechanical.match(/\w+/)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/bundler/gems/faker-e1bd4a5a5777/test/faker/default/test_faker_electrical_components.rb