diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-02-07 17:19:21 +0000 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-02-07 17:19:21 +0000 |
commit | 428da5b8050b5ec53043706667024342644eee66 (patch) | |
tree | 614b13d67f350027840745f071eac4dbdd0309ff | |
parent | 48647672837a9b13b2a4e3f048eb44a39968d12a (diff) | |
parent | ab1ae147b3b02f730d31f0a91c98b9c8582c5aab (diff) | |
download | gitlab-ce-428da5b8050b5ec53043706667024342644eee66.tar.gz |
Merge branch '9255-implement-access-controls-when-sso-enforcement-enabled-ce' into 'master'
Port migration fix from EE 9270
See merge request gitlab-org/gitlab-ce!25004
-rw-r--r-- | spec/migrations/clean_up_for_members_spec.rb | 4 |
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 } |