{"version":"1.0","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","image_url":null,"author_url":"https://blog.hatena.ne.jp/yssk22/","blog_url":"https://yssk22.hatenadiary.org/","width":"100%","height":"190","title":" assert \u3057\u305f\u3044\u3002","blog_title":"Web\u5c4b\u306e\u4eba\u306e\u65e5\u8a18 || WebJourney \u958b\u767a\u30ed\u30b0","description":"Test::Unit \u4ee5\u5916\u306e\u90e8\u5206\u3067\u3082assert\u304c\u307b\u3057\u304b\u3063\u305f\u3002before_destroy \u306a\u3069\u3067\u3001\u81f4\u547d\u7684\u306a\u30a8\u30e9\u30fc\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u306b\u30d5\u30a3\u30eb\u30bf\u3092\u3057\u3066\u3044\u308b\u3093\u3060\u3051\u308c\u3069\u3001\u30d5\u30a3\u30eb\u30bf\u306b\u5f15\u3063\u304b\u304b\u308b\u3088\u3046\u306a\u30b3\u30fc\u30c9\u306f\u30d0\u30b0\u4ee5\u5916\u306e\u4f55\u8005\u3067\u3082\u306a\u3044\u306e\u3067assert\u3067\u691c\u51fa\u3057\u305f\u3044\u3002\u3068\u304a\u3082\u3063\u3066\u3001assert_* \u3092\u4e00\u6c17\u306bActiveRecor::Base, ActionController::Base \u306e\u62e1\u5f35\u3068\u3057\u3066\u5b9f\u88c5\u3057\u305f\u3002if/unless \u304c\u306a\u304f\u306a\u308b\u306e\u3067\u30b3\u30fc\u30c9\u304c\u304d\u308c\u3044\u306b\u306a\u308b\uff01","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyssk22.hatenadiary.org%2Fentry%2F20080921%2F1222027772\" title=\" assert \u3057\u305f\u3044\u3002 - Web\u5c4b\u306e\u4eba\u306e\u65e5\u8a18 || WebJourney \u958b\u767a\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Ruby","Rails"],"type":"rich","author_name":"yssk22","url":"https://yssk22.hatenadiary.org/entry/20080921/1222027772","published":"2008-09-21 05:09:32"}