{"title":"\u8150\u3063\u3066\u3084\u304c\u308b\u2026","author_name":"ayato0211","blog_url":"https://ayato.hateblo.jp/","type":"rich","author_url":"https://blog.hatena.ne.jp/ayato0211/","image_url":null,"published":"2014-05-23 07:23:29","categories":["Ruby","Rails"],"description":"\u306f\u3044\u3001\u534a\u5e74\u524d\u306b\u66f8\u3044\u305f\u30b3\u30fc\u30c9\u3092\u3061\u3087\u3044\u3061\u3087\u3044\u5f04\u3063\u3066\u308b\u3093\u3067\u3059\u304c\u3001\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u304c\u8150\u3063\u3066\u307e\u3057\u305f\u3002\u3044\u3084\u30fc\u3001\u5f53\u6642 FactoryGirl \u3092\u89e6\u308d\u3046\u3068\u3057\u3066\u3044\u3066\u4f7f\u3044\u65b9\u5206\u304b\u3089\u306a\u3044\u3057\u3001\u8272\u3005\u5206\u304b\u3089\u306a\u3044\u3057\u8ae6\u3081\u3066\u305f\u3093\u3067\u3059\u304c\u3001\u6539\u3081\u3066 fixture \u4f7f\u3063\u3066\u308b\u30b3\u30fc\u30c9\u8aad\u3080\u3068\u306a\u3093\u304b\u8f9b\u3044\u3002\u3042\u3068\u3001\u76f4\u63a5 describe \u306b\u30c6\u30b9\u30c8\u306e\u610f\u56f3\u3092\u3075\u308b\u3075\u308b\u66f8\u3044\u3066\u3066\u76f4\u4e0b\u306b it \u304c\u304d\u3066\u308b\u306e\u3067\u304f\u3063\u305d\uff01\u3063\u3066\u601d\u3044\u306a\u304c\u3089\u8aad\u3093\u3067\u308b\u3002\u305d\u306e\u6614\u3001 RSpec Book \u3092\u8aad\u3093\u3060\u76f4\u5f8c\u306b\u306a\u3093\u3068\u306a\u304f\u5206\u304b\u3089\u306a\u3044\u306a\u308a\u306b\u66f8\u3044\u3066\u3057\u307e\u3063\u305f\u304c\u305f\u3081\u306b\u3001\u8272\u3005\u3068\u3042\u308c\u304c\u3042\u308c\u3002\u3069\u3046\u3057\u3066\u305d\u3093\u306a\u66f8\u304d\u65b9\u3092\u3057\u305f\u3093\u3060\u611f\u51c4\u3044\u3002 DRY ? \u306a\u306b\u305d\u308c\u7f8e\u5473\u3057\u3044\u306e\uff1f\u3063\u3066\u6614\u306e\u81ea\u5206\u8a00\u3063\u3066\u305d\u3046\u3002\u305b\u3081\u3066 befor\u2026","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayato.hateblo.jp%2Fentry%2F20140523%2F1400797409\" title=\"\u8150\u3063\u3066\u3084\u304c\u308b\u2026 - (define -ayalog &#39;())\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","blog_title":"(define -ayalog '())","provider_url":"https://hatena.blog","version":"1.0","url":"https://ayato.hateblo.jp/entry/20140523/1400797409","provider_name":"Hatena Blog"}