Samples: intro gist
Also make the sample regression spec more subdirectory friendly
This commit is contained in:
Submodule
+1
Submodule samples/intro added at 95a2056462
@@ -16,7 +16,9 @@ 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)
|
||||||
load sample
|
Dir.chdir(File.dirname(sample)) do
|
||||||
|
load sample
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user