diff options
Diffstat (limited to 'spec/lib/gitlab/legacy_github_import/importer_spec.rb')
-rw-r--r-- | spec/lib/gitlab/legacy_github_import/importer_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/legacy_github_import/importer_spec.rb b/spec/lib/gitlab/legacy_github_import/importer_spec.rb index c6ee0a3c094..7fef763f64d 100644 --- a/spec/lib/gitlab/legacy_github_import/importer_spec.rb +++ b/spec/lib/gitlab/legacy_github_import/importer_spec.rb @@ -205,7 +205,7 @@ describe Gitlab::LegacyGithubImport::Importer do let(:gh_pull_request) { Gitlab::LegacyGithubImport::PullRequestFormatter.new(project, closed_pull_request) } it 'does remove branches' do - expect(subject).to receive(:remove_branch).at_least(2).times + expect(subject).to receive(:remove_branch).at_least(:twice) subject.send(:clean_up_restored_branches, gh_pull_request) end end |