Fix timezone issues

This commit is contained in:
Pranav
2024-05-15 20:42:55 -07:00
parent 3b7421221c
commit ee044e8602
2 changed files with 7 additions and 2 deletions
@@ -18,7 +18,7 @@ RSpec.describe 'Reports API', type: :request do
assignee: user, created_at: Time.current.in_time_zone(default_timezone).to_date)
end
describe 'GET /api/v2/accounts/:account_id/reports/account' do
describe 'GET /api/v2/accounts/:account_id/reports' do
context 'when it is an unauthenticated user' do
it 'returns unauthorized' do
get "/api/v2/accounts/#{account.id}/reports"