Sha256: 50d070dd531a590f607b596d4473d44249e22d35e1e2550c7d5f59df844bfebb
Contents?: true
Size: 548 Bytes
Versions: 1
Compression:
Stored size: 548 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.3 | spec/samples_run_spec.rb |