Implement `has_file' condition keyword
This commit is contained in:
1 parent
3492382968
commit
2cbe1726f7
7 files changed
+69
-2
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].each do |test|
|
||||
%w[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