Sha256: 7ef104b1a66d64611da97c79c6b683ea2c2549bead260f5d98fd9d1cbfdda870

Contents?: true

Size: 426 Bytes

Versions: 44

Compression:

Stored size: 426 Bytes

Contents

<%= render partial: "shared/header" -%>

require "test_helper"
require "gapic/generators/<%= gem_name %>_generator"

class <%= gem_class_prefix %>GeneratorTest < GeneratorTest
  def test_speech_generate
    generator = Gapic::Generators::<%= gem_class_prefix %>Generator.new api(:speech)
    generator.generate.each do |file|
      assert_equal expected_content("<%= gem_name %>/#{file.name}"), file.content
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
gapic-generator-0.1.3 gem_templates/test_generator.erb
gapic-generator-0.1.2 gem_templates/test_generator.erb
gapic-generator-0.1.1 gem_templates/test_generator.erb
gapic-generator-0.1.0 gem_templates/test_generator.erb