Changed rspec matcher syntax to new style