Sha256: ef3b1c89a1860b9ed136ee416d0cd95778850c7b5399ec7521c719c8950284c5

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class <%= config[:name_as_class] %>Test < MiniTest::Test
  def test_default_class_instantiates
    assert <%= config[:name_as_class] %>.new
  end

  def test_default_class_responds_to_hello
    assert_equal "Hello, world!", <%= config[:name_as_class] %>.hello
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spiker-0.1.6 lib/spiker/generators/templates/multi/app_test.rb.erb
spiker-0.1.5 lib/spiker/generators/templates/multi/app_test.rb.erb