require'rails_helper'feature'Explore Snippets',feature: truedoscenario'User should see snippets that are not private'dopublic_snippet=create(:personal_snippet,:public)internal_snippet=create(:personal_snippet,:internal)private_snippet=create(:personal_snippet,:private)login_ascreate(:user)visitexplore_snippets_pathexpect(page).tohave_content(public_snippet.title)expect(page).tohave_content(internal_snippet.title)expect(page).not_tohave_content(private_snippet.title)endend