use the expect syntax for whitespace spec
Merge pull request #31 from beanieboi/bug/fix-rspec-syntax

use the expect syntax for whitespace spec