{"type":"rich","title":"RSpec\u3067exit\u3092\u542b\u3080\u30b3\u30fc\u30c9\u3092\u30c6\u30b9\u30c8\u3059\u308b","width":"100%","version":"1.0","author_url":"https://blog.hatena.ne.jp/Pocke/","categories":["Programming","Ruby","Ruby on Rails"],"description":"TL;DR expect{subject}.to raise_error SystemExit exit\u3092\u30c6\u30b9\u30c8\u3059\u308b\u72b6\u6cc1\u306f\u305d\u3082\u305d\u3082\u7b4b\u304c\u60aa\u3044 \u524d\u7f6e\u304d \u3053\u3093\u306b\u3061\u306f\u3002\u79c1\u306f\u6700\u8fd1mi\u3068\u3044\u3046Rails\u7528\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u3092\u4f5c\u3063\u3066\u3044\u307e\u3059\u3002 github.com Rails\u306e\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u306f\u5185\u90e8\u3067Thor\u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002 \u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3057\u3066\u3044\u304f\u4e0a\u3067\u3001\u4e00\u3064\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002 \u51e6\u7406\u3092\u9014\u4e2d\u3067\u5207\u308a\u4e0a\u3052\u308b\u305f\u3081\u306bexit\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u4e8b\u614b\u306b\u9665\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u307e\u3057\u305f\u3002 \u554f\u984c\u70b9 exit\u306f\u305d\u306e\u6642\u70b9\u3067\u30d7\u30ed\u30bb\u30b9\u3092\u7d42\u4e86\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002 \u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u554f\u984c\u70b9\u306e\u4e00\u3064\u306b\u3001\u30c6\u30b9\u30c8\u304c\u3057\u3065\u3089\u2026","provider_name":"Hatena Blog","blog_title":"pockestrap","author_name":"Pocke","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpocke.hatenablog.com%2Fentry%2F2016%2F07%2F17%2F085928\" title=\"RSpec\u3067exit\u3092\u542b\u3080\u30b3\u30fc\u30c9\u3092\u30c6\u30b9\u30c8\u3059\u308b - pockestrap\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"height":"190","provider_url":"https://hatena.blog","blog_url":"https://pocke.hatenablog.com/","url":"https://pocke.hatenablog.com/entry/2016/07/17/085928","published":"2016-07-17 08:59:28"}