Fix rspec tests syntax error