Sha256: ac338837175a0e6690bf7f2dd167fcb63638e9dff00a2e5a99d3b11983b799dc
Contents?: true
Size: 570 Bytes
Versions: 10
Compression:
Stored size: 570 Bytes
Contents
# encoding: utf-8 require 'helper' class TestMusic < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic( FFaker::Music, :genre, :album, :artist, :song ) def test_genre assert_match(/[A-z]|\W|\&\/+/, FFaker::Music.genre) end def test_album assert_match(/\s|[A-z]|\W|\d|\'|\?+/, FFaker::Music.album) end def test_artist assert_match(/\s|[A-z]|\W|\d|\'|\?|\&|\+|\.|\-+/, FFaker::Music.artist) end def test_song assert_match(/\s|[A-z]|\W|\d|\'|\?|\&|\+|\.|\-+/, FFaker::Music.song) end end
Version data entries
10 entries across 10 versions & 1 rubygems