Hartl's Rails Tutorial Chapter 9 Exercise 6

后端 未结 3 1719
逝去的感伤
逝去的感伤 2020-12-20 18:17

Updating, showing, and deleting users, exercises

Is there a way to create an Rspec test for User controller actions such as \"create\" and \"new?\"

I\'m not

3条回答
  •  时光取名叫无心
    2020-12-20 18:49

    1. Yes; and this is partially begun around 7.16 and elsewhere.
    2. One actually creates a user (create). One is for the page for creating a new user (new).
    3. Not sure I understand the question.

提交回复
热议问题