Sha256: 547fa347654555da2dd1e7a37967bf2d00cf325af1ae649e5135e8b2ad35b222

Contents?: true

Size: 210 Bytes

Versions: 19

Compression:

Stored size: 210 Bytes

Contents

class Draper::TestCase
  register_spec_type(self) do |desc|
    desc < Draper::Decorator || desc < Draper::CollectionDecorator if desc.is_a?(Class)
  end
  register_spec_type(/Decorator( ?Test)?\z/i, self)
end

Version data entries

19 entries across 19 versions & 4 rubygems

Version Path
draper-4.0.2 lib/draper/test/minitest_integration.rb
draper-4.0.1 lib/draper/test/minitest_integration.rb
draper-4.0.0 lib/draper/test/minitest_integration.rb
draper-3.1.0 lib/draper/test/minitest_integration.rb
draper-3.0.1 lib/draper/test/minitest_integration.rb
draper-3.0.0 lib/draper/test/minitest_integration.rb
draper-3.0.0.pre1 lib/draper/test/minitest_integration.rb
draper_new-3.0.0 lib/draper/test/minitest_integration.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/draper-2.1.0/lib/draper/test/minitest_integration.rb
draper-2.1.0 lib/draper/test/minitest_integration.rb
draper-2.0.0 lib/draper/test/minitest_integration.rb
draper-1.4.0 lib/draper/test/minitest_integration.rb
draper-1.3.1 lib/draper/test/minitest_integration.rb
draper-1.3.0 lib/draper/test/minitest_integration.rb
draper-1.2.1 lib/draper/test/minitest_integration.rb
draper-1.2.0 lib/draper/test/minitest_integration.rb
jamesgolick-draper-1.1.1a lib/draper/test/minitest_integration.rb
draper-1.1.0 lib/draper/test/minitest_integration.rb
draper-1.0.0 lib/draper/test/minitest_integration.rb