Sha256: b742b66d722c45d059cbdf035519f169b65ec9c984f5e00be4ae2042a0239f84
Contents?: true
Size: 1.46 KB
Versions: 1
Compression:
Stored size: 1.46 KB
Contents
describe Faker::Precure do it 'has a version number' do expect(Faker::Precure::VERSION).not_to be nil end describe ".human_name" do subject{ Faker::Precure.human_name } let(:all_human_names){ ::Precure.all.map(&:human_name) } it{ should_not be_blank } it{ should be_an_element_of all_human_names } end describe ".precure_name" do subject{ Faker::Precure.precure_name } let(:all_precure_names){ ::Precure.all.map(&:precure_name) } it{ should_not be_blank } it{ should be_an_element_of all_precure_names } end describe ".transform_message" do subject{ Faker::Precure.transform_message } let(:all_transform_messages){ ::Precure.all.map(&:transform_message) } it{ should_not be_blank } it{ should be_an_element_of all_transform_messages } end describe ".user_name" do subject{ Faker::Precure.user_name } let(:all_user_names){ ::Rubicure::Girl.uniq_names.map(&:to_s) } it{ should_not be_blank } it{ should be_an_element_of all_user_names } it{ should match /^[0-9a-z_]+$/ } end describe ".title" do subject{ Faker::Precure.title } let(:all_titles){ ::Rubicure.core.map(&:title) } it{ should_not be_blank } it{ should be_an_element_of all_titles } end describe ".cast_name" do subject{ Faker::Precure.cast_name } let(:all_cast_names){ ::Precure.all.map(&:cast_name) } it{ should_not be_blank } it{ should be_an_element_of all_cast_names } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
faker-precure-0.0.4 | spec/faker/precure_spec.rb |