Sha256: 4c06f849a5998beaef395865c43b17dd4397304eec70040839255ee641400012
Contents?: true
Size: 906 Bytes
Versions: 1
Compression:
Stored size: 906 Bytes
Contents
require 'spec_helper' describe FantasyFaker::Character do describe '#male_name' do subject { described_class.male_name } it { is_expected.to match(/[a-z]+/i) } end describe '#male_nickname' do subject { described_class.male_nickname } it { is_expected.to match(/[ a-zęóąśłżźćń]+/i) } end describe '#male_full_name' do subject { described_class.male_nickname } it { is_expected.to match(/[ a-zęóąśłżźćń]+/i) } end describe '#female_name' do subject { described_class.female_name } it { is_expected.to match(/[a-z]+/i) } end describe '#female_nickname' do subject { described_class.female_nickname } it { is_expected.to match(/[ a-zęóąśłżźćń]+/i) } end describe '#female_full_name' do subject { described_class.female_nickname } it { is_expected.to match(/[ a-zęóąśłżźćń]+/i) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fantasy_faker-0.0.2 | spec/character_spec.rb |