Sha256: b7f81e89dc23de3afa8ec3d4fad81184b24d0c0e652c0662a4bd300377a844d6
Contents?: true
Size: 420 Bytes
Versions: 1
Compression:
Stored size: 420 Bytes
Contents
require 'spec_helper' require 'squib' require 'pp' describe "Squib samples" do Dir["#{samples_dir}/**/*.rb"].each do |sample| it "executes #{sample} with no errors", slow: true do allow(Squib.logger).to receive(:warn) {} allow(ProgressBar).to receive(:create).and_return(Squib::DoNothing.new) Dir.chdir(File.dirname(sample)) do load sample end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
squib-0.9.0 | spec/samples/run_samples_spec.rb |