因此,我在一个类中有一个方法如下: Api::Dashboards::InstallationsBacklog.new(operational_district_id, officer_id).backlog_tasks我想说明一下。因此,我刚刚编写了一个RSpec测试来测试它,如下所示:
it "should call a new instance of InstallationsBacklog with the backlog_tasksmethod"
我需要从一个类似如下的Access查询中返回每个系统一年中每月所选行的计数的avg(): DatePart('yyyy',[Create Date]) AS [Year], Count(backlog.[Ticket ID]) AS [Count of Registered] GROUP BY backlog<