summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2019-02-07 15:39:29 +0100
committerJames Lopez <james@jameslopez.es>2019-02-07 15:39:29 +0100
commitab1ae147b3b02f730d31f0a91c98b9c8582c5aab (patch)
tree4b1b61cbce39aea6fb1ff0e20eed85d6175d9b19
parentc8fe0d6a8a76ee5865c71b5b6627608e5075797d (diff)
downloadgitlab-ce-ab1ae147b3b02f730d31f0a91c98b9c8582c5aab.tar.gz
-rw-r--r--spec/migrations/clean_up_for_members_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/migrations/clean_up_for_members_spec.rb b/spec/migrations/clean_up_for_members_spec.rb
index 7876536cb3e..1a79f94cf0d 100644
--- a/spec/migrations/clean_up_for_members_spec.rb
+++ b/spec/migrations/clean_up_for_members_spec.rb
@@ -2,6 +2,10 @@ require 'spec_helper'
require Rails.root.join('db', 'migrate', '20171216111734_clean_up_for_members.rb')
describe CleanUpForMembers, :migration do
+ before do
+ stub_feature_flags(enforced_sso: false)
+ end
+
let(:migration) { described_class.new }
let(:groups) { table(:namespaces) }
let!(:group_member) { create_group_member }