Update adapter.spec.js