2

I was going through this article A Guide to Testing Rails Applications and I was trying to implement System Tests for some of the models.

But on running the generator bin/rails generate system_test articles in the guide, I come across the following error:

Running via Spring preloader in process 16461 Expected string default value for '--helper'; got true (boolean) Expected string default value for '--assets'; got true (boolean) Could not find generator 'system_test'. Maybe you meant 'assets', 'scss:assets' or 'js:assets' Run 'rails generate --help' for more options.

I installed capybara but I can't figure out how to get this to work.

Any clue on how to get this to work? Thanks in advance :)

edit: I'm running rails 5.0.1

dhaliman
  • 1,542
  • 1
  • 12
  • 23

1 Answers1

1

This feature is available in Rails 5.1, and not the version I'm running (5.0.1).

dhaliman
  • 1,542
  • 1
  • 12
  • 23