diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index 0dff27f9654aa0c483d3395cd0a8bc8f842eb8e8..03511b0654f53cd5c5c78c57f880bd0476d33725 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -98,7 +98,7 @@ #groups.tab-pane - # This tab is always loaded via AJAX - #contributed.contributed-projects.tab-pane + #contributed.tab-pane - # This tab is always loaded via AJAX #projects.tab-pane diff --git a/features/steps/user.rb b/features/steps/user.rb index 39bbb59343b62d7b8b3a959426c65593e5f3eb26..b1d088f07f992e6be6b3f9992a924a0a8f82bc62 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