Commit 0278590e authored by Alex Kalderimis's avatar Alex Kalderimis

Call to_a on returned resolved value

parent 0aa1b1cc
......@@ -10,7 +10,7 @@ RSpec.describe Resolvers::IncidentManagement::OncallShiftsResolver do
let_it_be(:project) { rotation.project }
let(:args) { { start_time: rotation.starts_at, end_time: rotation.starts_at + rotation.shift_duration } }
subject(:shifts) { sync(resolve_oncall_shifts(args)) }
subject(:shifts) { sync(resolve_oncall_shifts(args).to_a) }
before do
stub_licensed_features(oncall_schedules: true)
......
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