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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-11-14 17:06:39 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-11-14 17:06:39 +0300
commit2388fdd7c6274dad8c10f5bc517f0a8b1aa28aa3 (patch)
tree9f862ed410b9a4d774c4791159291083ccc2c392 /features/steps/project/fork.rb
parentd2c3c98e3cf88dd59a2a1a0d94e711e31c11b2cd (diff)
Improve fork to namespaces feature
* Show namespace thumbnail differently if project was already forked * Show loading spinner when click on fork * Fork link navigates to personal namespace only if no manageable groups exists Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps/project/fork.rb')
-rw-r--r--features/steps/project/fork.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/features/steps/project/fork.rb b/features/steps/project/fork.rb
index da50ba9ced0..8e58597db20 100644
--- a/features/steps/project/fork.rb
+++ b/features/steps/project/fork.rb
@@ -25,4 +25,10 @@ class Spinach::Features::ProjectFork < Spinach::FeatureSteps
step 'I should see a "Name has already been taken" warning' do
page.should have_content "Name has already been taken"
end
+
+ step 'I fork to my namespace' do
+ within '.fork-namespaces' do
+ click_link current_user.name
+ end
+ end
end