summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2016-07-28 16:37:03 -0400
committerAlejandro Rodríguez <alejorro70@gmail.com>2016-07-28 16:37:03 -0400
commit08bac551494d92bc096859144a7a631b987ac35d (patch)
treed7c521cde9eb1d4d3d118038b5eae97f1f500ca0 /spec/controllers
parentd00679d54f2bbaab9d6963c3b871a03ab8a3d7d6 (diff)
downloadgitlab-ce-08bac551494d92bc096859144a7a631b987ac35d.tar.gz
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/projects/commit_controller_spec.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/controllers/projects/commit_controller_spec.rb b/spec/controllers/projects/commit_controller_spec.rb
index 3001d32e719..df902da86f8 100644
--- a/spec/controllers/projects/commit_controller_spec.rb
+++ b/spec/controllers/projects/commit_controller_spec.rb
@@ -24,15 +24,6 @@ describe Projects::CommitController do
get :show, params.merge(extra_params)
end
- let(:project) { create(:project) }
-
- before do
- user = create(:user)
- project.team << [user, :master]
-
- sign_in(user)
- end
-
context 'with valid id' do
it 'responds with 200' do
go(id: commit.id)