Skip to content

Warn users about stupid behavior like returning from example.

gitlab-qa-bot requested to merge github/fork/arturaz/master into master

Created by: arturaz

Currently if you return from example, RSpec happily carries away not executing whole bunch of your examples without any warning. This is VERY dangerous, because it gives false sense that user code is being tested, while it is really not.

These warnings should at least give user notification that something is wrong.

Merge request reports