1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/lib/generators/sidekiq/templates/worker_test.rb.erb
Arthur Neves 5d90c3a5c9 Use minitest 5 parent class
On Minitest 5+ we should be extending Minitest::Test instead.
see 7b387128ef/lib/minitest/unit.rb (L26)
2015-12-02 08:06:17 -05:00

8 lines
282 B
Text

require_relative 'test_helper'
<% module_namespacing do -%>
class <%= class_name %>WorkerTest < <% if defined? Minitest::Test %>Minitest::Test<% else %>MiniTest::Unit::TestCase<% end %>
def test_example
skip "add some examples to (or delete) #{__FILE__}"
end
end
<% end -%>