summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-18 22:43:04 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-19 00:12:30 -0200
commitbddef293d666c4b3933b93b017ae49bdf18b234f (patch)
tree7bd9f84b31c648816609b5585a12f7e333eab864 /lib
parent1d5f96cf971d44a3c0f6ca650c755f820bfd74bb (diff)
downloadgitlab-ce-bddef293d666c4b3933b93b017ae49bdf18b234f.tar.gz
Ensure that doesn't have pending migrations when running the specs
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/current_settings.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/gitlab/current_settings.rb b/lib/gitlab/current_settings.rb
index 7f938780ab1..ea054255820 100644
--- a/lib/gitlab/current_settings.rb
+++ b/lib/gitlab/current_settings.rb
@@ -39,7 +39,6 @@ module Gitlab
end
use_db && ActiveRecord::Base.connection.active? &&
- !ActiveRecord::Migrator.needs_migration? &&
ActiveRecord::Base.connection.table_exists?('application_settings')
rescue ActiveRecord::NoDatabaseError