-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Using:
*** LOCAL GEMS ***
minitest (2.5.1)
mocha (1.0.0)
puppet (3.4.3)
puppetlabs_spec_helper (0.4.1)
rake (0.9.2.2)
rspec (2.14.1)
rspec-core (2.14.7)
rspec-expectations (2.14.5)
rspec-mocks (2.14.6)
rspec-puppet (1.0.1)
I get the following spec errors:
/opt/local/bin/ruby1.9 -S rspec spec/classes/example_spec.rb spec/functions/mysql_password_spec.rb --color
....FF
Failures:
1) mysql_password should throw an error on invalid types
Failure/Error: lambda {
expected Puppet::ParseError, got #<NameError: uninitialized constant PuppetlabsSpec> with backtrace:
# ./spec/functions/mysql_password_spec.rb:5:in `block (2 levels) in <top (required)>'
# ./spec/functions/mysql_password_spec.rb:13:in `block (3 levels) in <top (required)>'
# ./spec/functions/mysql_password_spec.rb:12:in `block (2 levels) in <top (required)>'
# ./spec/functions/mysql_password_spec.rb:12:in `block (2 levels) in <top (required)>'
2) mysql_password should convert a password to a hash
Failure/Error: let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
NameError:
uninitialized constant PuppetlabsSpec
# ./spec/functions/mysql_password_spec.rb:5:in `block (2 levels) in <top (required)>'
# ./spec/functions/mysql_password_spec.rb:19:in `block (2 levels) in <top (required)>'
Finished in 0.15866 seconds
6 examples, 2 failures
Failed examples:
rspec ./spec/functions/mysql_password_spec.rb:11 # mysql_password should throw an error on invalid types
rspec ./spec/functions/mysql_password_spec.rb:17 # mysql_password should convert a password to a hash
Metadata
Metadata
Assignees
Labels
No labels