fix: spec tables creator path

main
Washington Botelho 2018-01-14 22:42:53 -02:00
parent 4919da1f52
commit de3ac30c24
No known key found for this signature in database
GPG Key ID: BECE10A8106CC7A0
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@
require File.expand_path('../../lib/generators/rating/templates/db/migrate/create_rating_tables.rb', __dir__) require File.expand_path('../../lib/generators/rating/templates/db/migrate/create_rating_tables.rb', __dir__)
Dir[File.expand_path('db/migrate/*.rb', __dir__)].each { |file| require file }
CreateArticlesTable.new.change CreateArticlesTable.new.change
CreateAuthorsTable.new.change CreateAuthorsTable.new.change
CreateCategoriesTable.new.change CreateCategoriesTable.new.change