Skip to content
Snippets Groups Projects
Commit 4b295c53 authored by Sean McGivern's avatar Sean McGivern
Browse files

Merge branch 'dz-add-cohort-spec' into 'master'

Increase code coverage for admin/cohorts page

See merge request !10964

Former-commit-id: c20acd13
parents 8cd5d69d ec3a2b53
No related branches found
No related tags found
No related merge requests found
require 'rails_helper'
feature 'Admin cohorts page', feature: true do
before do
login_as :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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment