Sha256: 7325ed765b5c52b2165f1a03c1eb6bafed2513ea525819bc019aee5f1e3e068e

Contents?: true

Size: 595 Bytes

Versions: 49

Compression:

Stored size: 595 Bytes

Contents

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

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

  def setup
    bare_setup
  end
  
  def teardown
    bare_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

49 entries across 49 versions & 1 rubygems

Version Path
newgem-1.5.3 test/test_install_jruby_generator.rb
newgem-1.5.0 test/test_install_jruby_generator.rb
newgem-1.5.1 test/test_install_jruby_generator.rb
newgem-1.5.2 test/test_install_jruby_generator.rb
newgem-0.13.2 test/test_install_jruby_generator.rb
newgem-0.13.1 test/test_install_jruby_generator.rb
newgem-0.13.4 test/test_install_jruby_generator.rb
newgem-0.13.3 test/test_install_jruby_generator.rb
newgem-0.14.2 test/test_install_jruby_generator.rb
newgem-0.13.5 test/test_install_jruby_generator.rb
newgem-0.14.1 test/test_install_jruby_generator.rb
newgem-0.15.0 test/test_install_jruby_generator.rb
newgem-0.14.0 test/test_install_jruby_generator.rb
newgem-0.17.1 test/test_install_jruby_generator.rb
newgem-0.17.0 test/test_install_jruby_generator.rb
newgem-0.18.0 test/test_install_jruby_generator.rb
newgem-0.16.1 test/test_install_jruby_generator.rb
newgem-0.16.0 test/test_install_jruby_generator.rb
newgem-0.19.0 test/test_install_jruby_generator.rb
newgem-0.21.0 test/test_install_jruby_generator.rb