spec/spec_helper.rb in ridgepole-0.7.0.alpha2 vs spec/spec_helper.rb in ridgepole-0.7.0.alpha3
- old
+ new
@@ -37,9 +37,11 @@
if conds = example.metadata[:condition]
skip unless Array(conds).any? {|c| condition(*c) }
end
case example.metadata[:file_path]
+ when /mysql57/
+ skip unless condition(:mysql57)
when /mysql/
skip if condition(:postgresql)
when /postgresql/
skip unless condition(:postgresql)
end