Sha256: cce9ecd16addf0765afb1370bb5bdea6c2846cb2255fb9e6b9b9b9e41f78b006
Contents?: true
Size: 352 Bytes
Versions: 1
Compression:
Stored size: 352 Bytes
Contents
RSpec.shared_context 'private', private: true do before :all do described_class.class_eval do @original_private_instance_methods = private_instance_methods public *@original_private_instance_methods end end after :all do described_class.class_eval do private *@original_private_instance_methods end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-context-private-0.0.1 | lib/rspec/context/private/private.rb |