summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Dibowitz <phild@fb.com>2015-06-25 06:43:22 -0700
committerPhil Dibowitz <phild@fb.com>2015-06-25 06:43:22 -0700
commit5113ea90f1f69c55a347d3721d6294eadde118b1 (patch)
tree80859e7d7a484e2c36aeb57895567bba9f04656b
parent0bae3e1146d19114f2e2987cb6ad405bd463df7e (diff)
downloadohai-5113ea90f1f69c55a347d3721d6294eadde118b1.tar.gz
Fix up tests after rebase
-rw-r--r--spec/unit/plugins/linux/filesystem2_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/plugins/linux/filesystem2_spec.rb b/spec/unit/plugins/linux/filesystem2_spec.rb
index 50678c92..0d0cc9ac 100644
--- a/spec/unit/plugins/linux/filesystem2_spec.rb
+++ b/spec/unit/plugins/linux/filesystem2_spec.rb
@@ -288,8 +288,8 @@ BLKID_TYPE
end
it "should ignore extra info in name and set label to value from lsblk -n -P -o NAME,UUID,LABEL,FSTYPE" do
- @plugin.run
- expect(@plugin[:filesystem2]["by_pair"]["/dev/mapper/debian--7-root,"][:label]).to eq("root")
+ plugin.run
+ expect(plugin[:filesystem2]["by_pair"]["/dev/mapper/debian--7-root,"][:label]).to eq("root")
end
end