BigW Consortium Gitlab

Commit c8187738 by Karlo Soriano

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.
parent c01ff1f5
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
#groups.tab-pane #groups.tab-pane
- # This tab is always loaded via AJAX - # This tab is always loaded via AJAX
#contributed.contributed-projects.tab-pane #contributed.tab-pane
- # This tab is always loaded via AJAX - # This tab is always loaded via AJAX
#projects.tab-pane #projects.tab-pane
......
...@@ -28,7 +28,7 @@ class Spinach::Features::User < Spinach::FeatureSteps ...@@ -28,7 +28,7 @@ class Spinach::Features::User < Spinach::FeatureSteps
end end
step 'I should see contributed projects' do step 'I should see contributed projects' do
page.within '.contributed-projects' do page.within '#contributed' do
expect(page).to have_content(@contributed_project.name) expect(page).to have_content(@contributed_project.name)
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment