search
LoginSignup
0
Help us understand the problem. What are the problem?

posted at

updated at

Factory Bot コマンドチート

モデル

bin/rails g factory_bot:model models

実行結果
create test/factories/models.rb

作成ファイルの場所指定

bin/rails g factory_bot:model models --dir spec/factories

実行結果
create spec/factories/models.rb

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
0
Help us understand the problem. What are the problem?