LoginSignup
0
0

More than 3 years have passed since last update.

RSpecの導入時の注意

Posted at

Gemfileを編

Gemfileを以下のように編集時、最後尾などではなく、必ずgroup :development, :testというグループの中に記述します。

Gemfile
 group :development, :test do
   # Call 'byebug' anywhere in the code to stop execution and get a debugger console
   gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
   gem 'rspec-rails', '~> 4.0.0'
 end

Gemfileの編集が完了したので、次にbundle installを実行します。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0