Sha256: 51e470b30fa2eccf3c15c4ec609eab9e0d1ba4d45bded2741d90e6bd27cd3e4b

Contents?: true

Size: 763 Bytes

Versions: 1

Compression:

Stored size: 763 Bytes

Contents

# frozen_string_literal: true

require_relative '../../test_helper'

class TestFakerWitcher < Test::Unit::TestCase
  def setup
    @witcher = Faker::Games::Witcher
  end

  def test_character
    assert @witcher.character.match(/\w+/)
  end

  def test_location
    assert @witcher.location.match(/\w+/)
  end

  def test_school
    assert @witcher.school.match(/\w+/)
  end

  def test_witcher
    assert @witcher.witcher.match(/\w+/)
  end

  def test_monster
    assert @witcher.monster.match(/\w+/)
  end

  def test_quote
    assert @witcher.quote.match(/\w+/)
  end

  def test_sign
    assert @witcher.sign.match(/\w+/)
  end

  def test_potion
    assert @witcher.potion.match(/\w+/)
  end

  def test_book
    assert @witcher.book.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_witcher.rb