summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-14 13:12:11 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-14 13:12:11 +0200
commit88d42c2e1c5ef3d312efbba658d852e638bf8f31 (patch)
tree4fb3b07654608233b4019edb1025d3afdba4bdd5 /features
parente84df44ea033dcab315ca2f28186066ae6486ee6 (diff)
downloadgitlab-ce-88d42c2e1c5ef3d312efbba658d852e638bf8f31.tar.gz
Replace projects_box with ui-box. Fixed team spinach test
Diffstat (limited to 'features')
-rw-r--r--features/steps/userteams/userteams.rb8
-rw-r--r--features/teams/team.feature3
2 files changed, 3 insertions, 8 deletions
diff --git a/features/steps/userteams/userteams.rb b/features/steps/userteams/userteams.rb
index f0494315767..5835deb25a5 100644
--- a/features/steps/userteams/userteams.rb
+++ b/features/steps/userteams/userteams.rb
@@ -206,12 +206,8 @@ class Userteams < Spinach::FeatureSteps
visit team_path(team)
end
- When 'I click on link "Projects"' do
- click_link "Projects"
- end
-
- And 'I click link "Assign project to Team"' do
- click_link "Assign project to Team"
+ When 'I click on link "Assign Project"' do
+ click_link "Assign Project"
end
Then 'I should see form with my own project in avaliable projects list' do
diff --git a/features/teams/team.feature b/features/teams/team.feature
index 5b7c15a86e5..1ae1812633e 100644
--- a/features/teams/team.feature
+++ b/features/teams/team.feature
@@ -59,8 +59,7 @@ Feature: UserTeams
Given I have team with projects and members
And I have my own project without teams
And I visit my team page
- When I click on link "Projects"
- And I click link "Assign project to Team"
+ When I click on link "Assign Project"
Then I should see form with my own project in avaliable projects list
When I submit form with selected project and max access
Then I should see my own project in team projects list