{"image_url":null,"description":"Rspec\u5b9f\u884c\u6642\u306b\u4ee5\u4e0b\u3067\u6012\u3089\u308c\u307e\u3057\u305f\u3002 WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. `NoMethodError`, `NameError` and `ArgumentError`), meaning the code you are intendin\u2026","published":"2021-08-05 14:07:13","author_url":"https://blog.hatena.ne.jp/kuronekopunk/","version":"1.0","blog_title":"\u30ce\u30f3\u30ab\u30d5\u30a7\u30a4\u30f3\u3067\u3042\u306a\u305f\u306b\u3084\u3055\u3057\u3044","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakinobu.net%2Fentry%2F2021%2F08%2F05%2F140713\" title=\"Rspec\u3067 WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives - \u30ce\u30f3\u30ab\u30d5\u30a7\u30a4\u30f3\u3067\u3042\u306a\u305f\u306b\u3084\u3055\u3057\u3044\" 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":"kuronekopunk","width":"100%","title":"Rspec\u3067 WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives","blog_url":"https://akinobu.net/","height":"190","provider_name":"Hatena Blog","url":"https://akinobu.net/entry/2021/08/05/140713","categories":["Rspec","Rails"],"provider_url":"https://hatena.blog","type":"rich"}