diff options
author | Claire McQuin <claire@getchef.com> | 2014-10-30 16:15:50 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-10-30 16:15:50 -0700 |
commit | 65af3425819ebbb0e275b7654477a815a9f398a0 (patch) | |
tree | 67d2d0f9ed5e3cc06180c5f1b2ac2b7d8af85e06 | |
parent | 59235ae3d772f136e90017c333368887c25e2de8 (diff) | |
download | ohai-65af3425819ebbb0e275b7654477a815a9f398a0.tar.gz |
Convert skipped transpec conversion
-rw-r--r-- | spec/spec_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 4156be38..28d35082 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -73,9 +73,9 @@ def it_should_check_from_deep_mash(plugin, mash, attribute, from, value) expect(@plugin[mash][attribute]).to eq(value) elsif mash.is_a?(Array) if mash.length == 2 - @plugin[mash[0]][mash[1]][attribute].should == value + expect(@plugin[mash[0]][mash[1]][attribute]).to eq value elsif mash.length == 3 - @plugin[mash[0]][mash[1]][mash[2]][attribute].should == value + expect(@plugin[mash[0]][mash[1]][mash[2]][attribute]).to eq value else return nil end |