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 /spec/features/admin
parent1302dc8f0420dacec65ef1dcc955763c6c263cec (diff)
Remove unnecessary page. from tests.
Diffstat (limited to 'spec/features/admin')
-rw-r--r--spec/features/admin/admin_hooks_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/admin/admin_hooks_spec.rb b/spec/features/admin/admin_hooks_spec.rb
index 120448ae335..b557567bd04 100644
--- a/spec/features/admin/admin_hooks_spec.rb
+++ b/spec/features/admin/admin_hooks_spec.rb
@@ -33,7 +33,7 @@ describe "Admin::Hooks", feature: true do
end
it "should open new hook popup" do
- page.current_path.should == admin_hooks_path
+ current_path.should == admin_hooks_path
page.should have_content(@url)
end
end
@@ -45,7 +45,7 @@ describe "Admin::Hooks", feature: true do
click_link "Test Hook"
end
- it { page.current_path.should == admin_hooks_path }
+ it { current_path.should == admin_hooks_path }
end
end