Explorar el Código

Enable working settings acceptance tests

James Allen hace 10 años
padre
commit
88b8ce1f80
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      services/web/test/acceptance/coffee/AuthorizationTests.coffee

+ 4 - 4
services/web/test/acceptance/coffee/AuthorizationTests.coffee

@@ -300,8 +300,8 @@ describe "Authorization", ->
 		it "should allow a user write access to its content", (done) ->
 			expect_content_write_access @other1, @project_id, done
 			
-		it "should not allow a user write access to its settings"#, (done) ->
-		# 	expect_no_settings_write_access @other1, @project_id, redirect_to: "/restricted", done
+		it "should not allow a user write access to its settings", (done) ->
+			expect_no_settings_write_access @other1, @project_id, redirect_to: "/restricted", done
 		
 		it "should not allow a user admin access to it", (done) ->
 			expect_no_admin_access @other1, @project_id, redirect_to: "/restricted", done
@@ -331,8 +331,8 @@ describe "Authorization", ->
 		it "should not allow a user write access to its content", (done) ->
 			expect_no_content_write_access @other1, @project_id, done
 			
-		it "should not allow a user write access to its settings"#, (done) ->
-		# 	expect_no_settings_write_access @other1, @project_id, redirect_to: "/restricted", done
+		it "should not allow a user write access to its settings", (done) ->
+			expect_no_settings_write_access @other1, @project_id, redirect_to: "/restricted", done
 		
 		it "should not allow a user admin access to it", (done) ->
 			expect_no_admin_access @other1, @project_id, redirect_to: "/restricted", done