it "deletes 3 checkins when 3 days in range specified" do
        expect {
          delete :destroy_all, params: params.merge(from: 3.days.ago, to: 1.day.ago)
        }.to change { device.checkins.count }.by(-3)