Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
モデルのモックは、rspec のモデルの既存のすべてのメソッドに自動的にアクセスできますか? 確認するだけではないと思います。ありがとう。
ご想像のとおり、そうではありません。これは、モック/スタブとファクトリをテスト オブジェクトとして使用する場合の違いの 1 つです。