rspec テストで、モデルの投稿に多数の属性があります。
it { should respond_to(:title) }
it { should respond_to(:description) }
it { should respond_to(:instruction) }
.
.
.
もっと正確に言えば、次のようなテストで使用する行を減らしてください。
it { should respond_to(:title, :description, :instruction) }
rspec テストで、モデルの投稿に多数の属性があります。
it { should respond_to(:title) }
it { should respond_to(:description) }
it { should respond_to(:instruction) }
.
.
.
もっと正確に言えば、次のようなテストで使用する行を減らしてください。
it { should respond_to(:title, :description, :instruction) }
修正はhttps://github.com/evansagge/mongoid-rspecにあります:
it { should have_fields(:title, :description, :instruction) }
ありがとう@Beerlington