debian-mirror-gitlab/spec/models/concerns/from_union_spec.rb
2020-11-24 15:15:51 +05:30

15 lines
372 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe FromUnion do
[true, false].each do |sql_set_operator|
context "when sql-set-operators feature flag is #{sql_set_operator}" do
before do
stub_feature_flags(sql_set_operators: sql_set_operator)
end
it_behaves_like 'from set operator', Gitlab::SQL::Union
end
end
end