Skip to content

Commit dc6b3f1

Browse files
committed
Run test prepare from rails console to speed things up
1 parent 8163ab9 commit dc6b3f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/git_rails

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ if [ ! -z "$migrations" ]; then
4949
done
5050

5151
# RUN THE MIGRATIONS (AND TEST PREPARE)
52+
migrate_commands="$migrate_commandsRake::Task['db:test:prepare'].invoke"
5253
echo "$migrate_commands" | bundle exec rails c > /dev/null
53-
bundle exec rake db:test:prepare > /dev/null
5454

5555
# CLEAN UP DOWN MIGRATIONS
5656
if [ ! -z "$migration_cleanup" ]; then

0 commit comments

Comments
 (0)