Sha256: 1cd5929eff8c92af93d925e3ce099c72802f10beb85f810526398a0302c06df4

Contents?: true

Size: 264 Bytes

Versions: 6

Compression:

Stored size: 264 Bytes

Contents

class MiniTest::Rails::ActiveSupport::TestCase
  # Use AS::TestCase for the base class when describing a decorator
  register_spec_type(self) do |desc|
    desc < Draper::Decorator if desc.is_a?(Class)
  end
  register_spec_type(/Decorator( ?Test)?\z/i, self)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
draper-1.0.0.beta6 lib/draper/test/minitest_integration.rb
draper-1.0.0.beta5 lib/draper/test/minitest_integration.rb
draper-1.0.0.beta4 lib/draper/test/minitest_integration.rb
draper-1.0.0.beta3 lib/draper/test/minitest_integration.rb
draper-1.0.0.beta2 lib/draper/test/minitest_integration.rb
draper-1.0.0.beta1 lib/draper/test/minitest_integration.rb