【发布时间】:2012-08-29 01:16:34
【问题描述】:
什么是体面的做法?最好匹配一个正则表达式。
我现在的代码是这样的:
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
感谢您的帮助!
【问题讨论】:
标签: ruby rspec rspec2 rspec-rails