We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e101b03 commit e85dca1Copy full SHA for e85dca1
1 file changed
spec/lightweight_spec_helper.rb
@@ -8,13 +8,16 @@
8
module VCAP
9
module CloudController
10
# Minimal Config stub for message validation specs
11
- class Config
12
- def self.config
13
- @config ||= new
14
- end
+ # Only define if not already defined (avoid conflict with spec_helper)
+ unless defined?(Config)
+ class Config
+ def self.config
15
+ @config ||= new
16
+ end
17
- def get(*_keys)
- nil
18
+ def get(*_keys)
19
+ nil
20
21
end
22
23
0 commit comments