Sha256: d62939756e621e19798a63e13c1fb07e1982855e06a99d2ad8654563b82f7ba8
Contents?: true
Size: 564 Bytes
Versions: 1
Compression:
Stored size: 564 Bytes
Contents
require 'spec_helper' require 'squib' require 'pp' describe Squib do context 'all samples run without error' do it 'should execute with no errors' do p = double('ProgressBar') allow(ProgressBar).to receive(:create).and_return(Squib::DoNothing.new) samples = File.expand_path('../samples', File.dirname(__FILE__)) Dir["#{samples}/**/*.rb"].each do |sample| Dir.chdir(samples) do #to save to _output require_relative "../samples/#{File.basename(sample)}" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
squib-0.0.5 | spec/samples_run_spec.rb |