blob: d032e7f9087b7e05cc2b057e4722c985fa6895b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Ci::VariablesHelper, feature_category: :pipeline_authoring do
describe '#ci_variable_maskable_raw_regex' do
it 'converts to a javascript regex' do
expect(helper.ci_variable_maskable_raw_regex).to eq("^\\S{8,}$")
end
end
end
|