n13org/jekyll-kw-stackexchange

View on GitHub
.fttemplates/Create RubyGem project structure/test/[ProjectName | lowercase?paramcase]/version_test.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

require 'test_helper'

module Jekyll
  module <Company | pascalcase>
    module <Project | pascalcase>
      class GeneralTest < Minitest::Test
        def test_that_it_has_a_rubygem_name
          refute_nil Jekyll::<Company | pascalcase>::<Project | pascalcase>::RUBYGEM_NAME
        end

        def test_that_it_has_a_version_number
          refute_nil Jekyll::<Company | pascalcase>::<Project | pascalcase>::VERSION
        end

        def test_fail_always_please_remove
          assert true
        end
      end
    end
  end
end