summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-03-01 10:15:46 -0600
committerJose Ivan Vargas <jvargas@gitlab.com>2017-03-06 09:47:44 -0600
commitbd9887e61701492dc331d188d5b0e1740b037ea3 (patch)
tree6f39ac52c9e6f406565fb5df83f018e0ce355d6f /spec/controllers
parent43958926c5310642f2fc0c6f72952004d2ca5089 (diff)
downloadgitlab-ce-bd9887e61701492dc331d188d5b0e1740b037ea3.tar.gz
Fixed repository_controller_spec
also added an #open_branches private method
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/projects/settings/repository_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/settings/repository_controller_spec.rb b/spec/controllers/projects/settings/repository_controller_spec.rb
index 77faf96033d..f73471f8ca8 100644
--- a/spec/controllers/projects/settings/repository_controller_spec.rb
+++ b/spec/controllers/projects/settings/repository_controller_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe Projects::Settings::RepositoryController do
- let(:project) { create(:empty_project, :public) }
+ let(:project) { create(:project_empty_repo, :public) }
let(:user) { create(:user) }
before do