Sha256: afa59a588b76435afb40ad8bda49e4384c9462eb3ca09ab503e3c79eb2fe9830

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

require_relative '../../test_helper'

class TestFakerHiphop < Test::Unit::TestCase
  def setup
    @tester = Faker::Music::Hiphop
  end

  def test_artist
    assert @tester.artist.match(/\w+/)
  end

  def test_groups
    assert @tester.groups.match(/\w+/)
  end

  def test_subgenres
    assert @tester.subgenres.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/music/test_faker_hiphop.rb