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:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-24 10:28:41 +0400
committerCiro Santilli <ciro.santilli@gmail.com>2014-09-26 11:51:17 +0400
commit89f7345f3ffdc212e60d4d657d878d1e5d6d6f9a (patch)
tree50929c127d5b45237cfbe9dd1dd26a406a7e7ed5 /features/steps/project/redirects.rb
parent1302dc8f0420dacec65ef1dcc955763c6c263cec (diff)
Remove unnecessary page. from tests.
Diffstat (limited to 'features/steps/project/redirects.rb')
-rw-r--r--features/steps/project/redirects.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/features/steps/project/redirects.rb b/features/steps/project/redirects.rb
index 39d39c8aeca..e54637120ce 100644
--- a/features/steps/project/redirects.rb
+++ b/features/steps/project/redirects.rb
@@ -48,8 +48,8 @@ class Spinach::Features::ProjectRedirects < Spinach::FeatureSteps
step 'I should be redirected to "Community" page' do
project = Project.find_by(name: 'Community')
- page.current_path.should == "/#{project.path_with_namespace}"
- page.status_code.should == 200
+ current_path.should == "/#{project.path_with_namespace}"
+ status_code.should == 200
end
step 'I get redirected to signin page where I sign in' do
@@ -63,7 +63,7 @@ class Spinach::Features::ProjectRedirects < Spinach::FeatureSteps
step 'I should be redirected to "Enterprise" page' do
project = Project.find_by(name: 'Enterprise')
- page.current_path.should == "/#{project.path_with_namespace}"
- page.status_code.should == 200
+ current_path.should == "/#{project.path_with_namespace}"
+ status_code.should == 200
end
end