Sha256: f429947726f9c69e4be20cd1e87f700aa969c753fe292cff492b31de720e2aaa

Contents?: true

Size: 615 Bytes

Versions: 1

Compression:

Stored size: 615 Bytes

Contents

require File.join(File.dirname(__FILE__), "test_generator_helper.rb")

class TestInstallJrubyGenerator < Test::Unit::TestCase
  include RubiGen::GeneratorTestHelper

  def setup
    # see rubygems_setup
  end
  
  def teardown
    # see rubygems_teardown
  end
  
  def test_generator_without_options
    name = "myapp"
    run_generator('install_jruby', [name], sources)
    assert_generated_file("tasks/jruby.rake")
  end
  
  private
  def sources
    [RubiGen::PathSource.new(:test, File.join(File.dirname(__FILE__),"..", generator_path))
    ]
  end
  
  def generator_path
    "rubygems_generators"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
newgem-0.13.0 test/test_install_jruby_generator.rb