Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-06-19 16:20:25 +0400
committerMarin Jankovski <marin@gitlab.com>2014-06-19 16:20:25 +0400
commit26d1bd7c2a285da734ed0b8eab5c31cd5237caa4 (patch)
tree3f4713dab46751d929d967ad5776fccea43f943f /features/steps/project/redirects.rb
parent2c3626884efb86ac4477754780e5c5d612e5264e (diff)
Set return url as param.
Diffstat (limited to 'features/steps/project/redirects.rb')
-rw-r--r--features/steps/project/redirects.rb4
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}"