summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/unit/runner_spec.rb2
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}