lib/jmeter_perf/extend/misc/exists.rb in jmeter_perf-0.0.7 vs lib/jmeter_perf/extend/misc/exists.rb in jmeter_perf-1.0.0
- old
+ new
@@ -3,10 +3,10 @@
def exists(variable, &)
params ||= {}
params[:condition] = "\"${#{variable}}\" != \"\\${#{variable}}\""
params[:useExpression] = false
params[:name] = "if ${#{variable}}"
- node = JmeterPerf::IfController.new(params)
+ node = JmeterPerf::DSL::IfController.new(params)
attach_node(node, &)
end
end
end