Increase code coverage for admin/cohorts page

Signed-off-by: default avatarDmitriy Zaporozhets <>
parent 025b04f3
require 'rails_helper'
feature 'Admin cohorts page', feature: true do
before do
login_as :admin
scenario 'See users count per month' do
2.times { create(:user) }
visit admin_cohorts_path
expect(page).to have_content("#{'%b %Y')} 3 0")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment