summaryrefslogtreecommitdiff
path: root/spec/support/helpers/stub_member.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/stub_member.rb')
-rw-r--r--spec/support/helpers/stub_member.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/support/helpers/stub_member.rb b/spec/support/helpers/stub_member.rb
new file mode 100644
index 00000000000..bcd0b675041
--- /dev/null
+++ b/spec/support/helpers/stub_member.rb
@@ -0,0 +1,8 @@
+# frozen_string_literal: true
+
+module StubMember
+ def self.included(base)
+ Member.prepend(StubbedMember::Member)
+ ProjectMember.prepend(StubbedMember::ProjectMember)
+ end
+end