Bug Challenge
In this part, test your understanding by adding buggy code to the app and running tests.
Tasks
- Add a logic bug to the
UserLimericksController#index
controller action that our controller test can detect.
- Make your bug different from the one previously shown.
- Take a screenshot of the code containing your bug and the terminal output showing that the test caught it.
- Remove the bug.
- Add a logic bug to the
UserLimericksController#index
controller action that our controller test cannot detect.
- Make your bug different from the one previously shown.
- Take a screenshot of code containing your bug and the terminal output showing that the test was unable to catch it.
- Remove the bug.
- Submit your screenshots.