Sha256: cb6481f2041a7d985b1927a854df9f11d34f4243f0a36e95f8dfe19370a03ab9

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

# frozen_string_literal: true

require_relative '../../test_helper'

class TestFakerTvShowsStarTrek < Test::Unit::TestCase
  def setup
    @tester = Faker::TvShows::StarTrek
  end

  def test_characters
    assert @tester.character.match(/\w+/)
  end

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

  def test_species
    assert @tester.specie.match(/\w+/)
  end

  def test_villains
    assert @tester.villain.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/tv_shows/test_star_trek.rb