fixing syntax issue with causes rspec to fail on ruby 1.8.7