We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00d09d4 commit 521d895Copy full SHA for 521d895
spec/classes/compose_spec.rb
@@ -5,13 +5,8 @@
5
# Stub /tmp_docker dir to prevent shelling out during spec test
6
class Dir
7
class << self
8
- alias_method :old_exist, :exist?
9
- def exist? (var)
10
- if var == '/tmp_docker'
11
- return true
12
- else
13
- old_exist (var)
14
- end
+ def exist?(var)
+ return true if var == '/tmp_docker'
15
end
16
17
0 commit comments