{"published":"2019-02-08 23:30:00","provider_name":"Hatena Blog","type":"rich","categories":["Ruby","RSpec"],"height":"190","title":"RSpec\u306ebefore/after\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u3056\u3063\u3068\u8868\u3067\u66f8\u304d\u8868\u3059","blog_url":"https://shinkufencer.hateblo.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinkufencer.hateblo.jp%2Fentry%2F2019%2F02%2F08%2F233000\" title=\"RSpec\u306ebefore/after\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u3056\u3063\u3068\u8868\u3067\u66f8\u304d\u8868\u3059 - \u30b3\u30fc\u30c9\u65e5\u9032\u6708\u6b69\" 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":"shinkufencer","provider_url":"https://hatena.blog","version":"1.0","author_url":"https://blog.hatena.ne.jp/shinkufencer/","description":"\u30d1\u30bf\u30fc\u30f3\u306b\u95a2\u3057\u3066\u628a\u63e1\u3057\u3066\u306a\u304b\u3063\u305f\u306e\u3067\u30e1\u30e2 \u74b0\u5883 $ bundle exec rspec -v RSpec 3.8 - rspec-core 3.8.0 - rspec-expectations 3.8.2 - rspec-mocks 3.8.0 - rspec-rails 3.8.1 - rspec-support 3.8.0 \u8aac\u660e \u66f8\u304d\u65b9 \u6319\u52d5 \u4ed6\u306e\u6307\u5b9a\u306e\u5b9f\u884c\u9806\u756a before(:suite) rspec\u306e\u5b9f\u884c\u6642\u306b1\u56de\u306e\u307f\u3001RSpec.configure\u306e\u4e2d\u3067\u3057\u304b\u4f7f\u3048\u306a\u3044 1 before(:context) describe\u3084context\u306a\u3069\u306e\u5358\u4f4d\u30671\u56de\u3060\u3051\u884c\u308f\u308c\u308b 2 before(:\u2026","url":"https://shinkufencer.hateblo.jp/entry/2019/02/08/233000","blog_title":"\u30b3\u30fc\u30c9\u65e5\u9032\u6708\u6b69","width":"100%","image_url":null}