Sha256: 8b3baf4787770c614bdb25523a7abe297c7bf127ec03c5bf5482b2e62754f7dc

Contents?: true

Size: 673 Bytes

Versions: 10

Compression:

Stored size: 673 Bytes

Contents

require 'test_helper'

class TestGeneratorMixins < Test::Unit::TestCase
  [Jeweler::Generator::BaconMixin,
   Jeweler::Generator::MicronautMixin,
   Jeweler::Generator::MinitestMixin,
   Jeweler::Generator::RspecMixin,
   Jeweler::Generator::ShouldaMixin,
   Jeweler::Generator::TestspecMixin,
   Jeweler::Generator::TestunitMixin
  ].each do |mixin|
    context mixin.to_s do
      %w(default_task feature_support_require feature_support_extend
         test_dir test_task test_pattern test_filename
         test_helper_filename).each do |method|
        should "define #{method}" do
          assert mixin.method_defined?(method)
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
jeweler-2.3.9 test/jeweler/test_generator_mixins.rb
jeweler-2.3.7 test/jeweler/test_generator_mixins.rb
jeweler-2.3.6 test/jeweler/test_generator_mixins.rb
jeweler-2.3.5 test/jeweler/test_generator_mixins.rb
jeweler-2.3.3 test/jeweler/test_generator_mixins.rb
jeweler-2.3.2 test/jeweler/test_generator_mixins.rb
jeweler-2.3.1 test/jeweler/test_generator_mixins.rb
jeweler-2.3.0 test/jeweler/test_generator_mixins.rb
jeweler-2.2.1 test/jeweler/test_generator_mixins.rb
jeweler-2.1.2 test/jeweler/test_generator_mixins.rb