summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2011-04-21 11:39:25 -0700
committerMatt Robinson <matt@puppetlabs.com>2011-04-21 11:39:25 -0700
commit7b0cf6dc3e4165733195b1645e2c4542c340feb6 (patch)
treef55a4f9acc1e1aa1854fd0993a998405520bf700 /spec
parentcdcff98b6ba4de967ecab0d6de9f1dd527e1f9c6 (diff)
parentc3a76a98226866fe691d0c6cb3995ec08af799e5 (diff)
Merge branch 'ticket/2.7.next/7021-order_dependent_test_failure' into 2.7.next
* ticket/2.7.next/7021-order_dependent_test_failure: (#7021) Fix order dependent spec failures maint: Remove unused code
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/util/network_device_spec.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/unit/util/network_device_spec.rb b/spec/unit/util/network_device_spec.rb
index 70cb509b4..0f7c6036b 100644
--- a/spec/unit/util/network_device_spec.rb
+++ b/spec/unit/util/network_device_spec.rb
@@ -10,6 +10,10 @@ describe Puppet::Util::NetworkDevice do
@device = OpenStruct.new(:name => "name", :provider => "test")
end
+ after(:each) do
+ Puppet::Util::NetworkDevice.teardown
+ end
+
class Puppet::Util::NetworkDevice::Test
class Device
def initialize(device)
@@ -43,4 +47,4 @@ describe Puppet::Util::NetworkDevice do
Puppet::Util::NetworkDevice.current.should == device
end
end
-end \ No newline at end of file
+end