Sha256: a4c9ca92f2f4499d703b4c24aff8338dc629d08675134b8125fa99a485ace05d

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

# frozen_string_literal: true

require_relative '../../test_helper'

class TestWorldOfWarcraft < Test::Unit::TestCase
  def setup
    @tester = Faker::Games::WorldOfWarcraft
  end

  def test_heroes
    assert @tester.hero.match(/\w+/)
  end

  def test_class_names
    assert @tester.class_name.match(/\w+/)
  end

  def test_races
    assert @tester.race.match(/\w+/)
  end

  def test_quotes
    assert @tester.quote.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/games/test_faker_world_of_warcraft.rb