fixed new syntax for rspec