Welcome to mirror list, hosted at ThFree Co, Russian Federation.

starred_projects.rb « dashboard « steps « features - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b9ad2f13e293248e55a4307aeb2619a723093da1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class Spinach::Features::DashboardStarredProjects < Spinach::FeatureSteps
  include SharedAuthentication
  include SharedPaths
  include SharedProject

  step 'I starred project "Community"' do
    current_user.toggle_star(Project.find_by(name: 'Community'))
  end

  step 'I should not see project "Shop"' do
    within 'aside' do
      page.should_not have_content('Shop')
    end
  end
end