Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rspecを使おう #2

Closed
kozo002 opened this issue Jul 13, 2016 · 2 comments
Closed

rspecを使おう #2

kozo002 opened this issue Jul 13, 2016 · 2 comments
Assignees

Comments

@kozo002
Copy link

kozo002 commented Jul 13, 2016

デフォルトだとMiniTestなんだけど、 gem "rspec-rails" をGemfileのtestのグループに追加してrspecを使えるようにしよう。

手順

  1. testディレクトリを削除
  2. Gemfileのtestグループに rspec-rails を追加
  3. bundle install
  4. bin/rails g rspec:install

参考

@take-watanabe
Copy link
Contributor

rspec追加しました。
devで追加したのですが、pull reqはどこに投げればいいですか?

@kozo002
Copy link
Author

kozo002 commented Jul 14, 2016

👍

@kozo002 kozo002 closed this as completed Jul 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants