Sha256: 8fad6b670e68053ddd56bd4aa79319a74f7ab951cbf12b09e31161fd9433c6dd

Contents?: true

Size: 726 Bytes

Versions: 17

Compression:

Stored size: 726 Bytes

Contents

class Juwelier
  class Generator
    module BaconMixin

      def self.extended(generator)
        generator.development_dependencies << ["bacon", ">= 0"]
      end

      def default_task
        'spec'
      end

      def feature_support_require
        'test/unit/assertions'
      end

      def feature_support_extend
        'Test::Unit::Assertions' # NOTE can't use bacon inside of cucumber actually
      end

      def test_dir
        'spec'
      end

      def test_task
        'spec'
      end

      def test_pattern
        'spec/**/*_spec.rb'
      end

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

      def test_helper_filename
        "spec_helper.rb"
      end

    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
juwelier-2.4.9 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.4.7 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.4.6 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.4.5 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.4.4 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.4.1 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.4.0 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.3.6 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.3.4 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.3.2 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.3.0 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.2.3 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.2.1 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.1.3 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.1.2 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.1.1 lib/juwelier/generator/bacon_mixin.rb
juwelier-2.1.0 lib/juwelier/generator/bacon_mixin.rb