diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-07-11 17:12:03 +0200 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-07-11 19:53:10 +0200 |
commit | 3b80d68f9d9d074ca24ca7cbc2f123360670a29a (patch) | |
tree | 1beb202aff0a939c7f7feb4dc46ecc6e676fcabd /features/project/redirects.feature | |
parent | 07b9d80604f130c5958e24651e73e889c6e43bb7 (diff) | |
download | gitlab-ce-3b80d68f9d9d074ca24ca7cbc2f123360670a29a.tar.gz |
Add in the tests.
Diffstat (limited to 'features/project/redirects.feature')
-rw-r--r-- | features/project/redirects.feature | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/features/project/redirects.feature b/features/project/redirects.feature index ce197912f64..a2e77e7bf30 100644 --- a/features/project/redirects.feature +++ b/features/project/redirects.feature @@ -24,3 +24,15 @@ Feature: Project Redirects Given I sign in as a user When I visit project "Enterprise" page Then page status code should be 404 + + Scenario: I visit a public project without signing in + When I visit project "Community" page + And I should see project "Community" home page + And I click on "Sign In" + And Authenticate + Then I should be redirected to "Community" page + + Scenario: I visit private project page without signing in + When I visit project "Enterprise" page + And I get redirected to signin page where I sign in + Then I should be redirected to "Enterprise" page |