Commit 1ecc8caf authored by gfyoung's avatar gfyoung Committed by Thong Kuah

Enable frozen string for Google import specs

parent faa1aa52
# frozen_string_literal: true
require "spec_helper" require "spec_helper"
describe Gitlab::GoogleCodeImport::Client do describe Gitlab::GoogleCodeImport::Client do
......
# frozen_string_literal: true
require "spec_helper" require "spec_helper"
describe Gitlab::GoogleCodeImport::Importer do describe Gitlab::GoogleCodeImport::Importer do
...@@ -37,7 +39,7 @@ describe Gitlab::GoogleCodeImport::Importer do ...@@ -37,7 +39,7 @@ describe Gitlab::GoogleCodeImport::Importer do
Performance Usability Maintainability Component-Panel Component-Taskbar Component-Battery Performance Usability Maintainability Component-Panel Component-Taskbar Component-Battery
Component-Systray Component-Clock Component-Launcher Component-Tint2conf Component-Docs Component-New Component-Systray Component-Clock Component-Launcher Component-Tint2conf Component-Docs Component-New
).each do |label| ).each do |label|
label.sub!("-", ": ") label = label.sub("-", ": ")
expect(project.labels.find_by(name: label)).not_to be_nil expect(project.labels.find_by(name: label)).not_to be_nil
end end
end end
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GoogleCodeImport::ProjectCreator do describe Gitlab::GoogleCodeImport::ProjectCreator do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment