{"provider_name":"Hatena Blog","version":"1.0","title":"(\u672a\u89e3\u6c7a)RSpec\u3067\u30cd\u30b9\u30c8\u3055\u308c\u305fresources\u306eController\u30af\u30e9\u30b9\u3092\u66f8\u304f\u306e\u306f\u3069\u3046\u3057\u305f\u3089\u3088\u3044\u304b","height":"190","url":"https://fujiyasu.hatenablog.com/entry/2013/06/22/130333","blog_url":"https://fujiyasu.hatenablog.com/","description":"\u76db\u5927\u306b\u30cf\u30de\u3063\u305f\u306e\u3067\u5099\u5fd8\u9332\u306a\u304c\u3089\u30e1\u30e2\u3002 \u3061\u306a\u307f\u306b\u307e\u3060\u89e3\u6c7a\u3057\u3066\u306a\u3044\u3067\u3059\u30fb\u30fb\u30fbRails4rc1\u3067\u958b\u767a\u3092\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001routes.rb\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u3066\u3042\u308b\u3068\u3059\u308b resources :events do resources :events_users end \u305d\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u81ea\u52d5\u751f\u6210 rails g rspec:controller events_users\u300cevents_users_controller_spec.rb\u300d\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u308b\u3002\u305d\u3057\u3066\u3001\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u7528\u610f\u3057\u3066\u8a66\u3057\u306b\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068 \u4ee5\u4e0b\u306e\u69d8\u306a\u611f\u3058\u3067\u30c6\u30b9\u30c8\u30a8\u30e9\u30fc\u3068\u306a\u308b\u3002 1) EventsUsersCo\u2026","blog_title":"Yassan Tech Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffujiyasu.hatenablog.com%2Fentry%2F2013%2F06%2F22%2F130333\" title=\"(\u672a\u89e3\u6c7a)RSpec\u3067\u30cd\u30b9\u30c8\u3055\u308c\u305fresources\u306eController\u30af\u30e9\u30b9\u3092\u66f8\u304f\u306e\u306f\u3069\u3046\u3057\u305f\u3089\u3088\u3044\u304b - Yassan Tech Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"fujikawa-y","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/fujikawa-y/","published":"2013-06-22 13:03:33","width":"100%","categories":["Ruby","Rails","RSpec"],"type":"rich","image_url":null}