summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-09-11 00:13:43 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-09-11 18:45:49 +0800
commit3acec5328e9572c36b08eccf81c392d52cb908c9 (patch)
tree40789166c1696a00f017059c0ede4ea2d1cd5a8d
parente8a455dc92540fd71abb6131c6e31ab1971b96f7 (diff)
downloadgitlab-ce-3acec5328e9572c36b08eccf81c392d52cb908c9.tar.gz
Explain why we need locals again in let(:ce)
-rw-r--r--spec/lib/gitlab/patch/prependable_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/gitlab/patch/prependable_spec.rb b/spec/lib/gitlab/patch/prependable_spec.rb
index 45725de31c3..ada6abcc796 100644
--- a/spec/lib/gitlab/patch/prependable_spec.rb
+++ b/spec/lib/gitlab/patch/prependable_spec.rb
@@ -35,6 +35,7 @@ describe Gitlab::Patch::Prependable do
end
let(:ce) do
+ # So that block in Module.new could see them
prepended_modules = @prepended_modules
ee_ = ee