Changed specs to new Rspec syntax with expect