summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Dibowitz <phild@fb.com>2015-06-24 10:18:32 -0700
committerPhil Dibowitz <phild@fb.com>2015-06-24 10:18:32 -0700
commit6647b718124ca0fd10b03dca2ed6cc5955fdd78b (patch)
treef57a35eac7fa7ca94f3cf9e7d7c6304794240de3
parent6d4c45db85a8ea613c6544ff6278bc89d95cfbcf (diff)
downloadohai-6647b718124ca0fd10b03dca2ed6cc5955fdd78b.tar.gz
Revert let syntax change
-rw-r--r--spec/unit/plugins/darwin/filesystem2_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/plugins/darwin/filesystem2_spec.rb b/spec/unit/plugins/darwin/filesystem2_spec.rb
index 4e24bbc7..85e44de1 100644
--- a/spec/unit/plugins/darwin/filesystem2_spec.rb
+++ b/spec/unit/plugins/darwin/filesystem2_spec.rb
@@ -20,7 +20,7 @@ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper.rb')
describe Ohai::System, "darwin filesystem2 plugin" do
before(:each) do
- let(:plugin) { get_plugin("darwin/filesystem2") }
+ @plugin = get_plugin("darwin/filesystem2")
allow(@plugin).to receive(:collect_os).and_return(:darwin)
allow(@plugin).to receive(:shell_out).with("df -i").and_return(mock_shell_out(0, "", ""))