summaryrefslogtreecommitdiff
path: root/spec/controllers/uploads_controller_spec.rb
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-09-04 21:40:26 +0300
committerValery Sizov <vsv2711@gmail.com>2015-09-09 11:27:03 +0300
commitb7431ec042bc14052c407fd277177681e189c892 (patch)
tree2abe23e6861186d0c0d793b3a51ad99047b2602f /spec/controllers/uploads_controller_spec.rb
parent349054e0ab4b03c9e259ed342af6cbb4e22936cd (diff)
downloadgitlab-ce-b7431ec042bc14052c407fd277177681e189c892.tar.gz
Make all group public
Diffstat (limited to 'spec/controllers/uploads_controller_spec.rb')
-rw-r--r--spec/controllers/uploads_controller_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/controllers/uploads_controller_spec.rb b/spec/controllers/uploads_controller_spec.rb
index 0f9780356b1..af5d043cf02 100644
--- a/spec/controllers/uploads_controller_spec.rb
+++ b/spec/controllers/uploads_controller_spec.rb
@@ -156,14 +156,6 @@ describe UploadsController do
end
context "when the project doesn't have public projects" do
- context "when not signed in" do
- it "redirects to the sign in page" do
- get :show, model: "group", mounted_as: "avatar", id: group.id, filename: "image.png"
-
- expect(response).to redirect_to(new_user_session_path)
- end
- end
-
context "when signed in" do
before do
sign_in(user)