summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-24 18:24:14 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-24 18:24:14 +0300
commit3e09e6f7b8032859a82266282dfd35715b3b3727 (patch)
tree7f882004565743b11cb4c734cbdfb9417fa1a9ab /features
parente55e23bbda6f6a95982109bc46e48a5550e4c181 (diff)
downloadgitlab-ce-3e09e6f7b8032859a82266282dfd35715b3b3727.tar.gz
Move Profile related controllers under Profiles:: module
Diffstat (limited to 'features')
-rw-r--r--features/steps/profile/profile_ssh_keys.rb4
-rw-r--r--features/steps/shared/paths.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/profile/profile_ssh_keys.rb b/features/steps/profile/profile_ssh_keys.rb
index a280ce6f89c..7871eabcb5d 100644
--- a/features/steps/profile/profile_ssh_keys.rb
+++ b/features/steps/profile/profile_ssh_keys.rb
@@ -21,7 +21,7 @@ class ProfileSshKeys < Spinach::FeatureSteps
key = Key.find_by_title("Laptop")
page.should have_content(key.title)
page.should have_content(key.key)
- current_path.should == key_path(key)
+ current_path.should == profile_key_path(key)
end
Given 'I click link "Work"' do
@@ -33,7 +33,7 @@ class ProfileSshKeys < Spinach::FeatureSteps
end
Then 'I visit profile keys page' do
- visit keys_path
+ visit profile_keys_path
end
And 'I should not see "Work" ssh key' do
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb
index 21b6159bce3..b2c23cf11c9 100644
--- a/features/steps/shared/paths.rb
+++ b/features/steps/shared/paths.rb
@@ -70,7 +70,7 @@ module SharedPaths
end
step 'I visit profile SSH keys page' do
- visit keys_path
+ visit profile_keys_path
end
step 'I visit profile design page' do