Sha256: bba6b96842ae2fb863dfb8cbce91835c9c7c325d71de1b5972be92fb3c782cae

Contents?: true

Size: 645 Bytes

Versions: 19

Compression:

Stored size: 645 Bytes

Contents

require 'helper'

class TestHealthcareIpsum < Test::Unit::TestCase
  def test_paragraph
    assert_match /1\+|[ a-z]+/i, Faker::HealthcareIpsum.paragraph
  end

  def test_sentence
    assert_match /1\+|[ a-z]+/i, Faker::HealthcareIpsum.sentence
  end

  def test_paragraphs
    assert_match /1\+|[ a-z]+/i, Faker::HealthcareIpsum.paragraphs.join(" ")
  end

  def test_sentences
    assert_match /1\+|[ a-z]+/i, Faker::HealthcareIpsum.sentences.join(" ")
  end

  def test_words
    assert_match /1\+|[ a-z]+/i, Faker::HealthcareIpsum.words.join(" ")
  end

  def test_word
    assert_match /1\+|[a-z]+/i, Faker::HealthcareIpsum.word
  end
end

Version data entries

19 entries across 19 versions & 3 rubygems

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