Update spec to check for the proper error.
Merge pull request #188 from boone/spec_fix

Update spec to check for the proper error.