C83 / THP_2.0

0 stars 0 forks source link

4 : Adding factory_bot and Faker done #12

Closed C83 closed 6 years ago

C83 commented 6 years ago
  1. gem "factory_bot_rails", "~> 4.0"
  2. Add the below text in a new file spec/support/factory_bot.rb :
    RSpec.configure do |config|
    config.include FactoryBot::Syntax::Methods
    end 
  3. gem faker To use faker : require 'faker'
C83 commented 6 years ago

Correction done.

C83 commented 6 years ago

I compare with your branch and changes looks good.