什么是体面的做法?最好匹配一个正则表达式。
我当前的代码是这样的:
describe "get #show" do
context "signed in" do
it "should have a link to edit profile" do
# i sign in the user
get :show
response # i don't know what to do here
end
end
end
谢谢您的帮助!