Test data generator using precure
Test data generator using Precure(Pretty Cure)
Add this line to your application’s Gemfile:
gem 'faker-precure'
And then execute:
$ bundle
Or install it yourself as:
$ gem install faker-precure
require "faker/precure"
Faker::Precure.human_name
#=> "黄瀬やよい"
Faker::Precure.precure_name
#=> "キュアアクア"
Faker::Precure.cast_name
#=> "豊口めぐみ"
Faker::Precure.title
#=> "Yes! プリキュア5"
Faker::Precure.transform_message
#=> "レッツプレイ!プリキュアモジュレーション!!\n爪弾くは女神の調べ! キュアミューズ!\n届け4人の組曲!スイートプリキュア!"
Faker::Precure.user_name
#=> "cure_mint"
FactoryGirl.define do
factory :user do
name { Faker::Precure.human_name }
end
end
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)