Sha256: 5bc1c963aef504853b5a1ea60069d8d2d347ae58fbf9e31822dfaf8b9815b667

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

module Draper
  module DecoratorExampleGroup
    include Draper::TestCase::Behavior
    extend ActiveSupport::Concern

    included { metadata[:type] = :decorator }
  end

  RSpec.configure do |config|
    config.include DecoratorExampleGroup, example_group: {file_path: %r{spec/decorators}}, type: :decorator
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
draper-1.0.0 lib/draper/test/rspec_integration.rb