Enable working settings acceptance tests

This commit is contained in:
James Allen 2016-03-18 12:23:13 +00:00
parent 35b5d3cc05
commit 88b8ce1f80

View file

@ -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