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.
谁能告诉我如何在 Rails 中为 Post Edit Page 进行功能测试?我有一个帖子列表,每个帖子都有一个编辑链接。谢谢你。
你可以通过 RSPEC-
def postedit do before { visit posteditpage_path } subject { post } def posteach do it {should_contain editlink_path} end end end
我正在尝试使用以下命令在 AppFog 上部署 Rails 应用程序(2.3.8):
af login af update app_name
我正在使用更新,因为 AppFog 上已经存在该应用程序。但是,我不断收到此错误:
Error (JSO