diff options
Diffstat (limited to 'spec/lib/gitlab/google_code_import/importer_spec.rb')
-rw-r--r-- | spec/lib/gitlab/google_code_import/importer_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/lib/gitlab/google_code_import/importer_spec.rb b/spec/lib/gitlab/google_code_import/importer_spec.rb index 031f57dbc65..7055df89c09 100644 --- a/spec/lib/gitlab/google_code_import/importer_spec.rb +++ b/spec/lib/gitlab/google_code_import/importer_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "spec_helper" describe Gitlab::GoogleCodeImport::Importer do @@ -37,7 +39,7 @@ describe Gitlab::GoogleCodeImport::Importer do Performance Usability Maintainability Component-Panel Component-Taskbar Component-Battery Component-Systray Component-Clock Component-Launcher Component-Tint2conf Component-Docs Component-New ).each do |label| - label.sub!("-", ": ") + label = label.sub("-", ": ") expect(project.labels.find_by(name: label)).not_to be_nil end end |