{"height":"190","categories":["RSpec","\u30a8\u30e9\u30fc(\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0)","\u307e\u3068\u3081"],"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoshi33-rails-docker.hatenadiary.jp%2Fentry%2F2020%2F09%2F03%2F060000\" title=\"RSpec\u3067\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc\u3081\u3082(\u968f\u6642\u8ffd\u52a0\u4e88\u5b9a) - toshizou-Rails\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","type":"rich","author_name":"asdfghtresxc","published":"2020-09-03 06:00:00","width":"100%","url":"https://toshi33-rails-docker.hatenadiary.jp/entry/2020/09/03/060000","image_url":null,"blog_url":"https://toshi33-rails-docker.hatenadiary.jp/","author_url":"https://blog.hatena.ne.jp/asdfghtresxc/","blog_title":"toshizou-Rails","title":"RSpec\u3067\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc\u3081\u3082(\u968f\u6642\u8ffd\u52a0\u4e88\u5b9a)","description":"\u3053\u306e\u8a18\u4e8b\u3067\u3084\u308b\u3053\u3068 \u958b\u767a\u74b0\u5883 RequestSpec\u3067\u306e\u30a8\u30e9\u30fc ArgumentError: x is not a valid column_name \u3053\u306e\u8a18\u4e8b\u3067\u3084\u308b\u3053\u3068 RSpec\u3067\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc\u3068\u305d\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092 \u958b\u767a\u74b0\u5883 MacOS: Mojave Ruby: 2.5.7 Rails: 5.1.7 RSpec(rspec-rails): 4.0.1 (Docker\u3092\u4f7f\u7528) RequestSpec\u3067\u306e\u30a8\u30e9\u30fc ArgumentError: x is not a valid column_name model\u3067\u5b9a\u7fa9\u3057\u305fenum\u304c\u539f\u56e0\u3067\u767a\u751f\u3057\u305f\u3002 factory\u30d5\u30a1\u30a4\u30eb\u3067enum\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u30ab\u30e9\u2026"}