Sha256: 20730cfe632f95021a33d91d1508458b4e3c0aa6068e0e332133e4410fe9d020

Contents?: true

Size: 679 Bytes

Versions: 10

Compression:

Stored size: 679 Bytes

Contents

class Jeweler
  class Generator
    module TestspecMixin
      def self.extended(generator)
        generator.development_dependencies << ['test-spec', '>= 0']
      end

      def default_task
        'test'
      end

      def feature_support_require
        'test/unit/assertions'
      end

      def feature_support_extend
        'Test::Unit::Assertions'
      end

      def test_dir
        'test'
      end

      def test_task
        'test'
      end

      def test_pattern
        'test/**/*_test.rb'
      end

      def test_filename
        "#{require_name}_test.rb"
      end

      def test_helper_filename
        'test_helper.rb'
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
jeweler-2.3.9 lib/jeweler/generator/testspec_mixin.rb
jeweler-2.3.7 lib/jeweler/generator/testspec_mixin.rb
jeweler-2.3.6 lib/jeweler/generator/testspec_mixin.rb
jeweler-2.3.5 lib/jeweler/generator/testspec_mixin.rb
jeweler-2.3.3 lib/jeweler/generator/testspec_mixin.rb
jeweler-2.3.2 lib/jeweler/generator/testspec_mixin.rb
jeweler-2.3.1 lib/jeweler/generator/testspec_mixin.rb
jeweler-2.3.0 lib/jeweler/generator/testspec_mixin.rb
jeweler-2.2.1 lib/jeweler/generator/testspec_mixin.rb
jeweler-2.1.2 lib/jeweler/generator/testspec_mixin.rb