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