摘要: 在使用rspec做单元测试的时候 当测试自己所写的方法的时候一直提示错误 最后的解决方法就是一定要使方法返回true 例如: def set_agent_value if self.agent.nil? self.agent = false end true end 阅读全文
posted @ 2016-01-24 10:10 皓贤 阅读(168) 评论(0) 推荐(0) 编辑
摘要: { "auto_complete": false, "auto_complete_commit_on_tab": false, "draw_minimap_border": true, "draw_white_space": "all", "font_face": "Monaco", "font_s 阅读全文
posted @ 2016-01-24 10:03 皓贤 阅读(223) 评论(0) 推荐(0) 编辑