fix spec test that expects wrong number of args
Merge pull request #2666 from beav/fix-test

fix spec test that expects wrong number of args