HomePhorge

(#7021) Fix order dependent spec failures
c3a76a982268Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#7021) Fix order dependent spec failures

Running:

rspec spec/unit/util/network_device_spec.rb spec/integration/transaction_spec.rb

Caused

Mocha::ExpectationError:
  unexpected invocation: #<Mock:device>.command()

The NetworkDevice class had a current reader that once set, never got
unset and lived between tests.

Paired-with: Josh Cooper <josh@puppetlabs.com>

Details

Provenance
Matt Robinson <matt@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU7bd6a2f37bed: maint: Remove unused code
Branches
Unknown
Tags
Unknown

Event Timeline

Matt Robinson <matt@puppetlabs.com> committed rPUc3a76a982268: (#7021) Fix order dependent spec failures (authored by Matt Robinson <matt@puppetlabs.com>).Apr 21 2011, 8:36 PM