Invalid resource type with custom type and rspec-puppet
I have a build in travis which is failing with:
Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type vcsrepo at /home/travis/build/lboynton/puppet-ejabberd/spec/fixtures/modules/ejabberd/manifests/contrib.pp:14
This is on puppet 3.0, however it passes with puppet 2.7 and 3.1+. I can't seem to work out why this happens, can anyone suggest why?