Sha256: 3325e5805c06ad0cb1546988d6667fe9afe0ce947e3ca04eb0c581140ae74504

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

require_relative '../../test_helper'

class TestFakerPokemon < Test::Unit::TestCase
  def setup
    @tester = Faker::Games::Pokemon
  end

  def test_name
    assert @tester.name.match(/\w+/)
  end

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

  def test_move
    assert @tester.move.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_pokemon.rb