Sha256: 7ec3d785ec0f151b7909ceacfeab398ee7a9237dfcc2338dcf0b5eceb61e52d1
Contents?: true
Size: 647 Bytes
Versions: 1
Compression:
Stored size: 647 Bytes
Contents
require 'spec_helper' describe "acceptance : standard libs are not tracked" do before { PrivatePlease.pp_automatic_mode_enable } after { PrivatePlease.pp_automatic_mode_disable} module RequireTest; end #----------------- example "the csv **standard library** is required but not tracked" do class RequireTest::Case1 require 'csv' def foo ; end end assert_classes_names ['RequireTest::Case1'] end example "the rspec **gem** is required but not tracked" do class RequireTest::Case2 require 'rspec/autorun' def foo ; end end assert_classes_names ['RequireTest::Case2'] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
private_please-0.0.5 | spec/01_tracking_candidate_methods/excluding_gems_and_standard_libraries_spec.rb |