Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(PDK-1067) Ensure rspec-core binstubs are created for pdk test unit #546

Merged
merged 2 commits into from
Jul 11, 2018

Commits on Jul 10, 2018

  1. (PDK-1067) Ensure rspec-core binstubs are created for pdk test unit

    Because of the way the parallel_tests gem invokes rspec, we need to make
    sure we have generated a binstub within the module for rspec. Otherwise
    when a user invokes `pdk test unit --parallel`, parallel_tests will
    attempt to invoke rspec outside of the PDK-managed Ruby environment.
    scotje committed Jul 10, 2018
    Configuration menu
    Copy the full SHA
    091510d View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2018

  1. (MAINT) Fix package test bundle update behavior

    The package acceptance test suite for multiple puppet version support was
    calling `pdk bundle update` which was causing non-packaged gems to be
    downloaded into the user cachedir by PDK. This caused later test suites
    to resolve onto those non-packaged gems which would cause unexpected
    diffs in the module's Gemfile.lock.
    
    This commit updates the multi-puppet test suite to use `pdk bundle
    update --local` and also ensures that the PDK user cachedir is cleaned
    between each test.
    scotje committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    6a3c446 View commit details
    Browse the repository at this point in the history