summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSten Spans <sten@blinkenlights.nl>2014-11-13 08:25:22 +0100
committerBryan McLellan <btm@opscode.com>2015-02-17 11:46:33 -0500
commitbbfecb4481f143090eebd45a6bdb4ce6f10cf32c (patch)
tree8efc45a953007ac35679be5f1fce9a98ae7a82bb
parent2a470c9543fe6a20171a77b6dae9820fdca3d74c (diff)
downloadohai-bbfecb4481f143090eebd45a6bdb4ce6f10cf32c.tar.gz
fix unit-test after rebase
-rw-r--r--spec/unit/plugins/linux/network_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/unit/plugins/linux/network_spec.rb b/spec/unit/plugins/linux/network_spec.rb
index d49c5f1b..dbb6643e 100644
--- a/spec/unit/plugins/linux/network_spec.rb
+++ b/spec/unit/plugins/linux/network_spec.rb
@@ -578,8 +578,7 @@ Destination Gateway Genmask Flags Metric Ref Use Iface
end
it "detects interfaces only visible via ip link" do
- @plugin.run
- @plugin['network']['interfaces']['eth3']['state'].should == 'up'
+ expect(plugin['network']['interfaces']['eth3']['state']).to eq('up')
end
describe "when dealing with routes" do