Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-07-03 20:37:20 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-07-03 20:37:20 +0300
commit73f5b02b4fa275bbd3a5880144114ea69f594307 (patch)
tree49c53b40e82efa78b9b75507d0081bf6f1316d13 /spec
parent9c8075c4b95f090fc6f00c897f6bf097d29ee8bf (diff)
Change the force flag to a keyword argument
Diffstat (limited to 'spec')
-rw-r--r--spec/models/project_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb
index 0eeaf68a02a..1a56f6f5c59 100644
--- a/spec/models/project_spec.rb
+++ b/spec/models/project_spec.rb
@@ -1344,7 +1344,7 @@ describe Project, models: true do
.with(project.repository_storage_path, project.path_with_namespace)
.and_return(true)
- expect(project).to receive(:create_repository)
+ expect(project).to receive(:create_repository).with(force: true)
project.ensure_repository
end