How to avoid Rspec shared examples 'previously defined' warning?
I found the answer in this issue at the Rspec Github:
Just in case someone googles and lands here. If putting your file with shared examples into support folder has not fixed the following error...Make sure your filename does not end with
_spec.rb.