This fails as expected:
$ rspec --format d spec/unit/application/describe_spec.rb
TypeDoc
(#13070) Should not explode (Will fail on Puppet 2.7.7 through 2.7.14) (FAILED - 1)
Failures:
1) TypeDoc (#13070) Should not explode (Will fail on Puppet 2.7.7 through 2.7.14)
Failure/Error: lambda { subject }.should_not raise_error
expected no Exception, got #<Puppet::Error: Could not autoload /Users/jeff/vms/puppet/modules/mount_providers/lib/puppet/type/mountpoint.rb: undefined method `downcase' for nil:NilClass>
# ./spec/unit/application/describe_spec.rb:11
Finished in 0.014 seconds
1 example, 1 failure
Failed examples:
rspec ./spec/unit/application/describe_spec.rb:10 # TypeDoc (#13070) Should not explode (Will fail on Puppet 2.7.7 through 2.7.14)
But this passes:
$ rspec spec/
..................*.*..............*.*.........................................................................
Pending:
Puppet::Type::Mountpoint::ProviderSolaris when syncing when unmounted should pass only one argument to mount if device is not specified
# Can't figure out the right way to test this atm; needs to be fixed
# ./spec/unit/provider/mountpoint/solaris_spec.rb:181
Puppet::Type::Mounttab::ProviderParsed should default to /etc/vfstab on Solaris
# This test only works on Solaris
# ./spec/unit/provider/mounttab/parsed_spec.rb:14
Puppet::Type::Mountpoint when validating values for ensure should support mounted as a value for ensure
# mounted and unmounted not yet supported
# ./spec/unit/type/mountpoint_spec.rb:41
Puppet::Type::Mountpoint when validating values for ensure should support unmounted as a value for ensure
# mounted and unmounted not yet supported
# ./spec/unit/type/mountpoint_spec.rb:51
Finished in 0.84261 seconds
111 examples, 0 failures, 4 pending