Sha256: 456d03847e1ac804219174ad4233915cbc6fb6e1c40405f941bb70ed17925eed

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true

require_relative '../../test_helper'

class TestFakerHowToTrainYourDragon < Test::Unit::TestCase
  def setup
    @tester = Faker::Movies::HowToTrainYourDragon
  end

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

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

  def test_dragon
    assert @tester.dragon.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/movies/test_faker_how_to_train_your_dragon.rb