diff options
Diffstat (limited to 'spec/models/project_spec.rb')
-rw-r--r-- | spec/models/project_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb index ae16b497c2f..751ffb2220a 100644 --- a/spec/models/project_spec.rb +++ b/spec/models/project_spec.rb @@ -1523,7 +1523,7 @@ describe Project, models: true do expect(project.ci_config_path).to eq('foo/.gitlab_ci.yml') end - it 'sets a string but remove all leading slashes and null characters' do + it 'sets a string but removes all leading slashes and null characters' do project.update!(ci_config_path: "///f\0oo/\0/.gitlab_ci.yml") expect(project.ci_config_path).to eq('foo//.gitlab_ci.yml') |