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

admin_cohorts_spec.rb « admin « features « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 952e5475213a9ec578e7ea8a888de847bcfa7678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'rails_helper'

feature 'Admin cohorts page', feature: true do
  before do
    gitlab_sign_in :admin
  end

  scenario 'See users count per month' do
    2.times { create(:user) }

    visit admin_cohorts_path

    expect(page).to have_content("#{Time.now.strftime('%b %Y')} 3 0")
  end
end