diff options
author | Xabier de Zuazo <xabier@onddo.com> | 2013-05-24 23:20:50 +0200 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-06-19 14:18:43 -0700 |
commit | b4e37867815a4f2109a8e4b0b52c292316d23713 (patch) | |
tree | 32841468fda91b8728e7d46ff9c202e711facee5 /spec/unit/runner_spec.rb | |
parent | 4c29883b38c6179a8b3fead064d7095159ba5cca (diff) | |
download | chef-b4e37867815a4f2109a8e4b0b52c292316d23713.tar.gz |
[CHEF-972] fixed test unit/runner_spec.rb:379: only_if_called_times.should == 2
Diffstat (limited to 'spec/unit/runner_spec.rb')
-rw-r--r-- | spec/unit/runner_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/runner_spec.rb b/spec/unit/runner_spec.rb index 388596e350..28082078c2 100644 --- a/spec/unit/runner_spec.rb +++ b/spec/unit/runner_spec.rb @@ -360,7 +360,7 @@ E end it "should check a resource's only_if and not_if if notified by another resource" do - @first_resource.action = :nothing + @first_resource.action = :buy only_if_called_times = 0 @first_resource.only_if {only_if_called_times += 1; true} |