Implement `has_file' condition keyword
This commit is contained in:
11
lib/producer/core/tests/has_file.rb
Normal file
11
lib/producer/core/tests/has_file.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
module Producer
|
||||
module Core
|
||||
module Tests
|
||||
class HasFile < Test
|
||||
def success?
|
||||
env.remote.fs.has_file? arguments.first
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user