Sha256: a1d8d373b698f6bce37a53b33d8e292a194887bb86a4aae5736bdaaae05ea9d8
Contents?: true
Size: 289 Bytes
Versions: 9
Compression:
Stored size: 289 Bytes
Contents
module SpecHelperExtensions # Used to test private methods. # # The idea is to replace instance.send :private_method. # Now it is rather like: # We have the scenario we are in the given instance. # def in_the(instance, &block) instance.instance_eval(&block) end end
Version data entries
9 entries across 9 versions & 1 rubygems