diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-06-19 16:20:25 +0400 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-06-19 16:20:25 +0400 |
commit | 26d1bd7c2a285da734ed0b8eab5c31cd5237caa4 (patch) | |
tree | 3f4713dab46751d929d967ad5776fccea43f943f /features/steps/project/redirects.rb | |
parent | 2c3626884efb86ac4477754780e5c5d612e5264e (diff) |
Set return url as param.
Diffstat (limited to 'features/steps/project/redirects.rb')
-rw-r--r-- | features/steps/project/redirects.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/features/steps/project/redirects.rb b/features/steps/project/redirects.rb index 16c32a4d56a..2ce0e836119 100644 --- a/features/steps/project/redirects.rb +++ b/features/steps/project/redirects.rb @@ -32,6 +32,10 @@ class Spinach::Features::ProjectRedirects < Spinach::FeatureSteps visit project_path(project) + 'DoesNotExist' end + step 'I click on "Sign In"' do + click_link "Sign in" + end + step 'I should be redirected to "Community" page' do project = Project.find_by(name: 'Community') page.current_path.should == "/#{project.path_with_namespace}" |