Update variables expressions statement specs

This commit is contained in:
Grzegorz Bizon 2018-05-17 12:55:19 +02:00
parent c808de2551
commit 61d55b56ab

View file

@ -100,7 +100,7 @@ describe Gitlab::Ci::Pipeline::Expression::Statement do
"$PRESENT_VARIABLE =~ /^var.*/" | false
"$EMPTY_VARIABLE =~ /var.*/" | false
"$UNDEFINED_VARIABLE =~ /var.*/" | false
"$PRESENT_VARIABLE =~ /(?i)VAR.*/" | true
"$PRESENT_VARIABLE =~ /VAR.*/i" | true
end
with_them do