0
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 3 years have passed since last update.

rspec実行時エラー Failure/Error: name { Faker::Name.name }

Posted at

# 概要
rspecを導入し、その後
factory_botを導入し、
rspecを実行した際に、

Failure/Error: name { Faker::Name.name }
NameError:
       uninitialized constant Faker

というエラーが発生

解決

gem 'faker' が development, test do の場所に
記載されていませんでした、、、

まとめ

gem を記載する場所は注意深く確認しようと思います!

0
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
0
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?