Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #11 from daemianmack/patch-1

Make the migration matcher fail if passed a bad filename
  • Loading branch information...
commit b84bba0f905b94cc93a208ec5050de75e4170faf 2 parents ccd97c3 + 9b5229b
@stevehodgkiss authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/generator_spec/matcher.rb
View
2  lib/generator_spec/matcher.rb
@@ -43,7 +43,7 @@ def matches?(root)
file_name = migration_file_name(root, @name)
unless file_name && file_name.exist?
- throw :failure, file_name
+ throw :failure, @name
end
check_contents(file_name)
Please sign in to comment.
Something went wrong with that request. Please try again.