Samples: intro gist

Also make the sample regression spec more subdirectory friendly
dev
Andy Meneely 2015-11-23 22:44:44 -05:00
parent 86f37b1ef6
commit f33a74cada
2 changed files with 4 additions and 1 deletions

1
samples/intro Submodule

@ -0,0 +1 @@
Subproject commit 95a20564627aaee25f4b59f287c21d0b287906a6

View File

@ -16,9 +16,11 @@ describe "Squib samples" do
it "should execute #{sample} with no errors", slow: true do it "should execute #{sample} with no errors", slow: true do
allow(Squib.logger).to receive(:warn) {} allow(Squib.logger).to receive(:warn) {}
allow(ProgressBar).to receive(:create).and_return(Squib::DoNothing.new) allow(ProgressBar).to receive(:create).and_return(Squib::DoNothing.new)
Dir.chdir(File.dirname(sample)) do
load sample load sample
end end
end end
end
# This test could use some explanation # This test could use some explanation
# Much of the development of Squib has been sample-driven. Every time I want # Much of the development of Squib has been sample-driven. Every time I want