Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.
This repository was archived by the owner on May 15, 2024. It is now read-only.

Lots of failing tests #9

@jessereynolds

Description

@jessereynolds

First up, I've not tried running the tests that have been contributed. I'm sure I'm running them correctly.

I have added a Gemfile, replaced Modulefile with metadata.json, a .ruby_version setting ruby to 2.1.2 and run like so:

export PUPPET_GEM_VERSION=3.8.2
bundle exec rake spec

271 examples, 113 failures

The full output is at https://gist.github.com/e07941ada20b64497b88

Eg:

Failures:

  1) flapjack::install input validation when the version parameter is not a string should fail
     Failure/Error: expect { subject }.to raise_error(Puppet::Error, /false is not a string./)
       expected Puppet::Error with message matching /false is not a string./ but nothing was raised
     # ./spec/classes/flapjack_install_spec.rb:67:in `block (5 levels) in <top (required)>'

  2) flapjack::redis input validation when the redis_omnibus parameter is not an boolean should fail
     Failure/Error: expect { subject }.to raise_error(Puppet::Error, /"BOGON" is not a boolean.  It looks to be a String/)
       expected Puppet::Error with message matching /"BOGON" is not a boolean.  It looks to be a String/ but nothing was raised
     # ./spec/classes/flapjack_redis_spec.rb:30:in `block (5 levels) in <top (required)>'

  3) flapjack::redis input validation when the redis_port parameter is not a string should fail
     Failure/Error: expect { subject }.to raise_error(Puppet::Error, /false is not a string./)
       expected Puppet::Error with message matching /false is not a string./ but nothing was raised
     # ./spec/classes/flapjack_redis_spec.rb:69:in `block (5 levels) in <top (required)>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions