Updates spec to use correct var
Removes unused method