0
0

More than 1 year has passed since last update.

<備忘録>integration_ test ファイル削除方法。

Last updated at Posted at 2021-12-16

総合テストのファイル名を間違えた。

rails g integration_test sighup で総合テストを作成しましたが、
よく見るとsghupの綴りが間違っていました。
幸い、テストはまだ記述していなかったので、削除して新しい総合テストのファイルを作成します。

総合テストのファイル削除

ターミナル
 $rails destroy integration_test users_sighup
 Running via Spring preloader in process 51389
      invoke  test_unit
      remove  test/integration/users_sighup_test.rb

以上でファイルの削除が終わりました。

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