1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Factory Bot コマンドチート

Last updated at Posted at 2022-06-22

モデル

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

1
0
0

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
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?