Sha256: c0d1e95a31607a92c1f36166eb71b3b0c55859ae0a8505f21bf947a9db857267
Contents?: true
Size: 398 Bytes
Versions: 14
Compression:
Stored size: 398 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) permutations = %w(stub strong).permutation.map { |parts| parts.join('.') } + %w(strong) permutations.each do |permutation| describe permutation, is_strong: true do include_context 'stub + strong' define_method(:double_definition_creator_for) do |object, &block| eval(permutation + '(object, &block)') end end end
Version data entries
14 entries across 14 versions & 1 rubygems