Sha256: 81953ea5d2fa7f3e09b7ddfaa6a22d405382a66c08cc6212bad0e26c386ccce0

Contents?: true

Size: 298 Bytes

Versions: 11

Compression:

Stored size: 298 Bytes

Contents

require 'test_helper'

<%- if options[:spec] -%>
describe <%= class_name %> do
  # it "does a thing" do
  #   <%= spec_expectation_monad %>(1+1).must_equal 2
  # end
end
<%- else -%>
class <%= class_name %>Test < ActiveSupport::TestCase
  # def test_truth
  #   assert true
  # end
end
<%- end -%>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
minitest-rails-6.0.2 lib/generators/minitest/plugin/templates/%file_name%_test.rb.tt
minitest-rails-6.1.1 lib/generators/minitest/plugin/templates/%file_name%_test.rb.tt
minitest-rails-7.0.1 lib/generators/minitest/plugin/templates/%file_name%_test.rb.tt
minitest-rails-7.0.0 lib/generators/minitest/plugin/templates/%file_name%_test.rb.tt
minitest-rails-6.1.0 lib/generators/minitest/plugin/templates/%file_name%_test.rb.tt
minitest-rails-6.0.1 lib/generators/minitest/plugin/templates/%file_name%_test.rb.tt
minitest-rails-6.0.0 lib/generators/minitest/plugin/templates/%file_name%_test.rb.tt
minitest-rails-6.0.0.rc1 lib/generators/minitest/plugin/templates/%file_name%_test.rb.tt
minitest-rails-5.2.0 lib/generators/minitest/plugin/templates/%file_name%_test.rb.tt
minitest-rails-5.1.0 lib/generators/minitest/plugin/templates/%file_name%_test.rb.tt
minitest-rails-5.0.0 lib/generators/minitest/plugin/templates/%file_name%_test.rb.tt