This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "test_helper"
|
||||
|
||||
class <%= config[:constant_name] %>Test < Test::Unit::TestCase
|
||||
test "VERSION" do
|
||||
assert do
|
||||
::<%= config[:constant_name] %>.const_defined?(:VERSION)
|
||||
end
|
||||
end
|
||||
|
||||
test "something useful" do
|
||||
assert_equal("expected", "actual")
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
|
||||
require "<%= config[:namespaced_path] %>"
|
||||
|
||||
require "test-unit"
|
||||
Reference in New Issue
Block a user