rails test で下記エラーが発生し少し嵌まった
原因はapp/views/static_pages/home.html.erbの
4行目の
$ rails test
Run options: --seed 51555
Running:
..F
Failure:
StaticPagesControllerTest#test_should_get_home [C:/Users/user/environment/samp_app/test/controllers/static_pages_controller_test.rb:11]:
expected but was
..
Expected 0 to be >= 1.
bin/rails test test/controllers/static_pages_controller_test.rb:8
.
Finished in 0.998276s, 4.0069 runs/s, 7.0121 assertions/s.
4 runs, 7 assertions, 1 failures, 0 errors, 0 skips