Sha256: 2b3928c3d5457905497cc7389913318d0aab135abc1c78f590cdcda6d6186eac

Contents?: true

Size: 637 Bytes

Versions: 14

Compression:

Stored size: 637 Bytes

Contents

# encoding: utf-8

require 'helper'

class TestDizzleIpsum < Test::Unit::TestCase

  def test_paragraph
    assert_match /1\+|[ a-z]+/i, Faker::DizzleIpsum.paragraph
  end

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

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

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

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

  def test_word
    assert_match /1\+|[a-z]+/i, Faker::DizzleIpsum.word
  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_dizzle_ipsum.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/ffaker-1.32.1/test/test_dizzle_ipsum.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/ffaker-1.32.1/test/test_dizzle_ipsum.rb
ffaker-1.32.1 test/test_dizzle_ipsum.rb
ffaker-1.32.0 test/test_dizzle_ipsum.rb
ffaker-1.31.0 test/test_dizzle_ipsum.rb
ffaker-1.30.0 test/test_dizzle_ipsum.rb
ffaker-1.25.0 test/test_dizzle_ipsum.rb
ffaker-1.24.0 test/test_dizzle_ipsum.rb
ffakerer-1.0.2 test/test_dizzle_ipsum.rb
ffaker-1.23.0 test/test_dizzle_ipsum.rb
ffakerer-1.0.1 test/test_dizzle_ipsum.rb
ffaker-1.22.1 test/test_dizzle_ipsum.rb
ffaker-1.22.0 test/test_dizzle_ipsum.rb