Fix a spec that wasn't testing what it was supposed to be testing