diff options
author | Ben Somers <somers.ben@gmail.com> | 2014-06-12 18:01:59 -0700 |
---|---|---|
committer | Ben Somers <somers.ben@gmail.com> | 2014-06-12 18:01:59 -0700 |
commit | 5a84d12988f35090554c821a28e0f689a7c0987d (patch) | |
tree | 255c102b2742f9c4372b88140fad250d51956c5b /spec/unit/role_spec.rb | |
parent | c60d99a017cf73839628dca4401e3773efadf9b5 (diff) | |
download | chef-5a84d12988f35090554c821a28e0f689a7c0987d.tar.gz |
Delete accidental unused line in spec file
Diffstat (limited to 'spec/unit/role_spec.rb')
-rw-r--r-- | spec/unit/role_spec.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/unit/role_spec.rb b/spec/unit/role_spec.rb index 29c908febd..924ca9fe32 100644 --- a/spec/unit/role_spec.rb +++ b/spec/unit/role_spec.rb @@ -261,7 +261,6 @@ EOR it "should return a Chef::Role object from a Ruby DSL" do Dir.should_receive(:glob).and_return(["#{Chef::Config[:role_path]}/memes", "#{Chef::Config[:role_path]}/memes/lolcat.rb"]) - js_path = File.join(Chef::Config[:role_path], 'memes/lolcat.rb') rb_path = File.join(Chef::Config[:role_path], 'memes/lolcat.rb') File.should_receive(:exists?).with(rb_path).exactly(2).times.and_return(true) File.should_receive(:readable?).with(rb_path).exactly(1).times.and_return(true) |