Sha256: d495924e7a1ff2bdab50ae2b66d77c6ecb382e980956e25e269f368868835ee1

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 Bytes

Contents

# frozen_string_literal: true

require_relative '../../test_helper'

class TestFakerTvShowsTheFreshPrinceOfBelAir < Test::Unit::TestCase
  def setup
    @tester = Faker::TvShows::TheFreshPrinceOfBelAir
  end

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

  def test_actor
    assert @tester.actor.match(/\w+/)
  end

  # deprecated
  def test_celebrity
    assert @tester.celebrity.match(/\w+/)
  end

  def test_quote
    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/tv_shows/test_the_fresh_prince_of_bel_air.rb