Sha256: 6449c65806156981e42b69bbc82b34398d233ea10a02017131ff5372479a85b7

Contents?: true

Size: 186 Bytes

Versions: 50

Compression:

Stored size: 186 Bytes

Contents

module SpecsFor
  def specs_for(*klasses, &block)
    klasses.each do |klass|
      describe(klass, &block)
    end
  end
  
  def specing?(klass)
    described_class == klass
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
mongomodel-0.5.5 spec/support/helpers/specs_for.rb
mongomodel-0.5.4 spec/support/helpers/specs_for.rb
mongomodel-0.5.3 spec/support/helpers/specs_for.rb
mongomodel-0.5.2 spec/support/helpers/specs_for.rb
mongomodel-0.5.1 spec/support/helpers/specs_for.rb
mongomodel-0.5.0 spec/support/helpers/specs_for.rb
mongomodel-0.4.9 spec/support/helpers/specs_for.rb
mongomodel-0.4.8 spec/support/helpers/specs_for.rb
mongomodel-0.4.7 spec/support/helpers/specs_for.rb
mongomodel-0.4.6 spec/support/helpers/specs_for.rb
mongomodel-0.4.5 spec/support/helpers/specs_for.rb
mongomodel-0.4.4 spec/support/helpers/specs_for.rb
mongomodel-0.4.3 spec/support/helpers/specs_for.rb
mongomodel-0.4.2 spec/support/helpers/specs_for.rb
mongomodel-0.4.1 spec/support/helpers/specs_for.rb
mongomodel-0.4.0 spec/support/helpers/specs_for.rb
mongomodel-0.3.6 spec/support/helpers/specs_for.rb
mongomodel-0.3.5 spec/support/helpers/specs_for.rb
mongomodel-0.3.4 spec/support/helpers/specs_for.rb
mongomodel-0.3.3 spec/support/helpers/specs_for.rb