Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-09-10 19:13:43 +0300
committerLin Jen-Shin <godfat@godfat.org>2018-09-11 13:45:49 +0300
commit3acec5328e9572c36b08eccf81c392d52cb908c9 (patch)
tree40789166c1696a00f017059c0ede4ea2d1cd5a8d /spec/lib/gitlab/patch
parente8a455dc92540fd71abb6131c6e31ab1971b96f7 (diff)
Explain why we need locals again in let(:ce)
Diffstat (limited to 'spec/lib/gitlab/patch')
-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