Sha256: bd134d0e26d0dcbe51bb410a9ce7f5b939b64c78d4f5e2d7b841224c14fb9061

Contents?: true

Size: 742 Bytes

Versions: 9

Compression:

Stored size: 742 Bytes

Contents

require 'spec_helper'

# FIXME: use example groups/it_should_behave_like instead
describe 'Bueller::Generator Mixins' do
  [Bueller::Generator::BaconMixin,
   Bueller::Generator::MicronautMixin,
   Bueller::Generator::MinitestMixin,
   Bueller::Generator::RspecMixin,
   Bueller::Generator::ShouldaMixin,
   Bueller::Generator::TestspecMixin,
   Bueller::Generator::TestunitMixin,
  ].each do |mixin|
    describe "#{mixin}" do
      %w(default_task feature_support_require feature_support_extend
         test_dir test_task test_pattern test_filename
         test_helper_filename).each do |method|
          it "should define #{method}" do
            mixin.method_defined?(method).should be_true
          end
       end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bueller-0.0.9 spec/bueller/generator_mixins_spec.rb
bueller-0.0.8 spec/bueller/generator_mixins_spec.rb
bueller-0.0.7 spec/bueller/generator_mixins_spec.rb
bueller-0.0.6 spec/bueller/generator_mixins_spec.rb
bueller-0.0.5 spec/bueller/generator_mixins_spec.rb
bueller-0.0.4 spec/bueller/generator_mixins_spec.rb
bueller-0.0.3 spec/bueller/generator_mixins_spec.rb
bueller-0.0.2 spec/bueller/generator_mixins_spec.rb
bueller-0.0.1 spec/bueller/generator_mixins_spec.rb