Skip to content

Commit

Permalink
Prefer #refute over negated #assert
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Mar 8, 2018
1 parent 7caa6af commit edb7743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_rake_multi_task.rb
Expand Up @@ -101,7 +101,7 @@ def test_task_not_executed_if_dependant_task_failed_concurrently
rescue RuntimeError
ensure
sleep 0.5
assert !task_two_was_executed
refute task_two_was_executed
end
end
end

0 comments on commit edb7743

Please sign in to comment.