mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 11:24:13 -05:00
Enable working settings acceptance tests
This commit is contained in:
parent
35b5d3cc05
commit
88b8ce1f80
1 changed files with 4 additions and 4 deletions
|
@ -300,8 +300,8 @@ describe "Authorization", ->
|
||||||
it "should allow a user write access to its content", (done) ->
|
it "should allow a user write access to its content", (done) ->
|
||||||
expect_content_write_access @other1, @project_id, done
|
expect_content_write_access @other1, @project_id, done
|
||||||
|
|
||||||
it "should not allow a user write access to its settings"#, (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
|
expect_no_settings_write_access @other1, @project_id, redirect_to: "/restricted", done
|
||||||
|
|
||||||
it "should not allow a user admin access to it", (done) ->
|
it "should not allow a user admin access to it", (done) ->
|
||||||
expect_no_admin_access @other1, @project_id, redirect_to: "/restricted", 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) ->
|
it "should not allow a user write access to its content", (done) ->
|
||||||
expect_no_content_write_access @other1, @project_id, done
|
expect_no_content_write_access @other1, @project_id, done
|
||||||
|
|
||||||
it "should not allow a user write access to its settings"#, (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
|
expect_no_settings_write_access @other1, @project_id, redirect_to: "/restricted", done
|
||||||
|
|
||||||
it "should not allow a user admin access to it", (done) ->
|
it "should not allow a user admin access to it", (done) ->
|
||||||
expect_no_admin_access @other1, @project_id, redirect_to: "/restricted", done
|
expect_no_admin_access @other1, @project_id, redirect_to: "/restricted", done
|
||||||
|
|
Loading…
Reference in a new issue