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>2013-01-02 21:56:22 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-02 21:56:22 +0400
commit6a9e7dc55bbf7bedaee1870763132d65dad15be9 (patch)
treeb39d0965e5043a1aa807416c654584f743beaf9d /features
parentccf0686b01160e4a61bf8fb4b26f43d1486af9c2 (diff)
Fixed spinach
Diffstat (limited to 'features')
-rw-r--r--features/steps/group/group.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb
index 02a1dd13505..90d27add7c7 100644
--- a/features/steps/group/group.rb
+++ b/features/steps/group/group.rb
@@ -3,7 +3,7 @@ class Groups < Spinach::FeatureSteps
include SharedPaths
Then 'I should see projects list' do
- current_user.projects.each do |project|
+ current_user.authorized_projects.each do |project|
page.should have_link project.name
end
end
@@ -71,7 +71,7 @@ class Groups < Spinach::FeatureSteps
end
def project
- current_group.projects.first
+ current_group.authorized_projects.first
end
def assigned_to_me key