projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '1499-workbench-tags'
[arvados.git]
/
services
/
api
/
test
/
functional
/
arvados
/
v1
/
groups_controller_test.rb
diff --git
a/services/api/test/functional/arvados/v1/groups_controller_test.rb
b/services/api/test/functional/arvados/v1/groups_controller_test.rb
index 40adbd2dfec70afeb35db213147eab4ca3ef404a..6530181b68fb9c6a35024d37c88994af2bfe5860 100644
(file)
--- a/
services/api/test/functional/arvados/v1/groups_controller_test.rb
+++ b/
services/api/test/functional/arvados/v1/groups_controller_test.rb
@@
-1,4
+1,11
@@
require 'test_helper'
class Arvados::V1::GroupsControllerTest < ActionController::TestCase
require 'test_helper'
class Arvados::V1::GroupsControllerTest < ActionController::TestCase
+
+ test "attempt to delete group without write access" do
+ authorize_with :active
+ post :destroy, id: groups(:public).uuid
+ assert_response 403
+ end
+
end
end