Created by: lukeredpath
I’ve also clarified the existing specs by including an assertion against the presence of a warning, so the name of the spec matches what is actually being tested.
I'm not 100% happy with checking against an exact match on the warning text but it seemed important to check for the presence (or absence) of a warning.
This is related to #581 (closed) but I'm not sure its the only issue I'm having with this generator on Rails 5.