rails 简明教程-单元测试-rspec 入门教程

2021-03-18  本文已影响0人  petter102
  # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
  gem 'rspec-rails', '~> 5.0.0'
end

1.导入gemfille文件
2.执行bundle install 或者 bundle install --without production
3.太麻烦了

上一篇 下一篇

猜你喜欢

热点阅读