{"version":"1.0","width":"100%","provider_url":"https://hatena.blog","blog_url":"https://kinosuke.hatenablog.jp/","provider_name":"Hatena Blog","image_url":null,"author_name":"comb_8107","author_url":"https://blog.hatena.ne.jp/comb_8107/","description":"\u65e2\u5b58Rails\u30a2\u30d7\u30ea\u306bRspec\u3092\u5165\u308c\u305f\u3068\u304d\u306e\u30e1\u30e2\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Gemfile\u306b\u8ffd\u8a18 group :development, :test do gem 'rspec-rails' gem 'factory_bot_rails' gem 'database_cleaner' end RSpec\u306e\u8a2d\u5b9a \u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u308b\u3002 bundle install bundle exec rails generate rspec:install \u8a2d\u5b9a\u3092\u3059\u308b config/application.rb # config/application.rb config.generators do |g| \u2026","published":"2018-09-20 21:11:41","title":"\u65e2\u5b58Rails\u30a2\u30d7\u30ea\u306bRspec\u3092\u5165\u308c\u308b","height":"190","categories":["Rails"],"url":"https://kinosuke.hatenablog.jp/entry/2018/09/20/211141","blog_title":"\u30b3\u30d4\u30da\u30b3\u30fc\u30c9\u3067\u5feb\u9069\u751f\u6d3b","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkinosuke.hatenablog.jp%2Fentry%2F2018%2F09%2F20%2F211141\" title=\"\u65e2\u5b58Rails\u30a2\u30d7\u30ea\u306bRspec\u3092\u5165\u308c\u308b - \u30b3\u30d4\u30da\u30b3\u30fc\u30c9\u3067\u5feb\u9069\u751f\u6d3b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}