“group :test, :development do gem "rspec-rails", "~> 2.6" end It needs to be in the :development group to expose generators and rake tasks without having to type RAILS_ENV=test. ”

kent-where-the-light-iskent-where-the-light-is のブックマーク 2016/12/30 11:02

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Why do people group rspec under test and development in the Gemfile?

    I'm generally clear on bundler Gemfile options, but I'm not sure why rspec (specifically, rspec-rails) should be in both test and development. Here are my test groupings: group :development, :test ...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう