diff options
Diffstat (limited to 'spec/lib/gitlab/database_spec.rb')
-rw-r--r-- | spec/lib/gitlab/database_spec.rb | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/spec/lib/gitlab/database_spec.rb b/spec/lib/gitlab/database_spec.rb index ac8616f84a7..23f4f0e7089 100644 --- a/spec/lib/gitlab/database_spec.rb +++ b/spec/lib/gitlab/database_spec.rb @@ -70,40 +70,6 @@ RSpec.describe Gitlab::Database do end end - describe '.main_database?' do - using RSpec::Parameterized::TableSyntax - - where(:database_name, :result) do - :main | true - 'main' | true - :ci | false - 'ci' | false - :archive | false - 'archive' | false - end - - with_them do - it { expect(described_class.main_database?(database_name)).to eq(result) } - end - end - - describe '.ci_database?' do - using RSpec::Parameterized::TableSyntax - - where(:database_name, :result) do - :main | false - 'main' | false - :ci | true - 'ci' | true - :archive | false - 'archive' | false - end - - with_them do - it { expect(described_class.ci_database?(database_name)).to eq(result) } - end - end - describe '.check_for_non_superuser' do subject { described_class.check_for_non_superuser } |