lib/watirspec/guards.rb in watir-6.16.5 vs lib/watirspec/guards.rb in watir-6.17.0
- old
+ new
@@ -15,10 +15,10 @@
if gs.empty?
"\tnone."
else
gs.each do |guard|
- guard[:data][:file] = guard[:data][:file][%r{\/spec\/(.*):}, 1]
+ guard[:data][:file] = guard[:data][:file][%r{/spec/(.*):}, 1]
guard_name = "#{guard[:name]}:".ljust(15)
str << " \t#{guard_name} #{guard[:data].inspect}\n"
end
Watir.logger.warn str, ids: [:guard_names]
end