Sha256: 2a835b3cb9a0a9b8e55e4e249d19fded0ae0de14843fd413a2306219e87fa44f

Contents?: true

Size: 606 Bytes

Versions: 2

Compression:

Stored size: 606 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

class TestJoJo < Test::Unit::TestCase
  include DeterministicHelper

  assert_methods_are_deterministic(FFaker::JoJo, :full_name, :first_name, :last_name, :stand)

  def setup
    @tester = FFaker::JoJo
  end

  def test_full_name
    assert_include @tester::FULL_NAMES, @tester.full_name
  end

  def test_first_name
    assert_include @tester::FIRST_NAMES, @tester.first_name
  end

  def test_last_name
    assert_include @tester::LAST_NAMES, @tester.last_name
  end

  def test_stand
    assert_include @tester::STANDS, @tester.stand
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffaker-2.23.0 test/test_jo_jo.rb
ffaker-2.22.0 test/test_jo_jo.rb