Sha256: 2687854824885f83514fc15213a75a364d5ed00785094096a7228bbdcb8cd124

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

module Makers
  module Extensions
    module ActiveSupport
      module TestCase

        %w(build create).each do |method|
          define_method method do |name, *args|
            Makers.definitions.find(name).send method, *args
          end
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
makers-0.2.0 lib/makers/extensions/active_support/test_case.rb