If a migration file is found not to exist, its name is set to nil, and this is thrown up the stack with a failure at matcher.rb#L46. This then gets interpreted as a successful match at matcher.rb#L129. Avoid this by returning the requested @name to trigger a failed match.
…luded by default in Rails 4.0. Message was (from Refinery CMS): DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in #<Class:0x007fb2e8a65610> instead. (called from include at /code/parndt/Refinery/core/spec/lib/generators/refinery/cms/cms_generator_spec.rb:7)