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:
authorKarlo Soriano <karlo@aelogica.com>2016-04-27 14:36:04 +0300
committerKarlo Soriano <karlo@aelogica.com>2016-04-27 14:36:04 +0300
commitc8187738a217166cbf03c26adc4a09fcf43a3b94 (patch)
tree5dae02fd4ba4e8b73d5f79ae9da1cf6cc488ab96 /features
parentc01ff1f54b55a60f7c7473d0d8a429d5cf9c1609 (diff)
Remove unused .contributed-projects class
While working on #13401 and trying to add a new tab to the user profile page, I came across this. I noticed that the `contributed-projects` class was only being used in order to select the div in the tests. For consistency with the other tabs, I decided to remove this class and use the div's id for the selector.
Diffstat (limited to 'features')
-rw-r--r--features/steps/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/user.rb b/features/steps/user.rb
index 3230234cb6d..18fd8e5c618 100644
--- a/features/steps/user.rb
+++ b/features/steps/user.rb
@@ -28,7 +28,7 @@ class Spinach::Features::User < Spinach::FeatureSteps
end
step 'I should see contributed projects' do
- page.within '.contributed-projects' do
+ page.within '#contributed' do
expect(page).to have_content(@contributed_project.name)
end
end