Implement `has_dir' condition keyword
This commit is contained in:
1 parent
9d7af04d28
commit
0b4df20f55
7 files changed
+69
-1
No files matched your search
@@ -6,7 +6,7 @@ module Producer::Core
|
||||
let(:env) { double 'env' }
|
||||
subject(:dsl) { Condition::DSL.new(env, &block) }
|
||||
|
||||
%w[has_env has_file].each do |test|
|
||||
%w[has_dir has_env has_file].each do |test|
|
||||
it "has `#{test}' test defined" do
|
||||
expect(dsl).to respond_to test.to_sym
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user