Sha256: e238ce6ae6a97439a8e5cdd8100b14296c6f7f226ee70cbff3199185be880b6a

Contents?: true

Size: 471 Bytes

Versions: 14

Compression:

Stored size: 471 Bytes

Contents

# encoding: utf-8

require 'helper'

class TestSkill < Test::Unit::TestCase

  def test_tech_skill
    assert_match /[a-z]+/i, Faker::Skill.tech_skill
  end

  def test_tech_skills
    tech_skills = Faker::Skill.tech_skills
    assert_instance_of Array, tech_skills
  end

  def test_specialty
    assert_match /[ a-z]+/i, Faker::Skill.specialty
  end

  def test_specialties
    specialties = Faker::Skill.specialties
    assert_instance_of Array, specialties
  end
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/ffaker-1.32.1/test/test_skill.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/ffaker-1.32.1/test/test_skill.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/ffaker-1.32.1/test/test_skill.rb
ffaker-1.32.1 test/test_skill.rb
ffaker-1.32.0 test/test_skill.rb
ffaker-1.31.0 test/test_skill.rb
ffaker-1.30.0 test/test_skill.rb
ffaker-1.25.0 test/test_skill.rb
ffaker-1.24.0 test/test_skill.rb
ffakerer-1.0.2 test/test_skill.rb
ffaker-1.23.0 test/test_skill.rb
ffakerer-1.0.1 test/test_skill.rb
ffaker-1.22.1 test/test_skill.rb
ffaker-1.22.0 test/test_skill.rb