lib/CLIntegracon/adapter/bacon.rb in clintegracon-0.7.0 vs lib/CLIntegracon/adapter/bacon.rb in clintegracon-0.8.0
- old
+ new
@@ -92,10 +92,11 @@
it "$ #{subject.name} #{args.join(' ')}" do
status.should.satisfy("Binary failed\n\n#{output}") do
status.success?
end
end
+ status.success?
end
end
# Ad-hoc defines a set of shared expectations to be consumed directly by `behaves_like`.
# See the following example for usage:
@@ -128,10 +129,10 @@
shared_name = spec_dir
shared shared_name do
file_tree_spec_context.spec(spec_dir, based_on: based_on).run do |spec|
- instance_eval &block
+ break unless instance_eval &block
formatter = spec.formatter.lazy
spec.compare do |diff|
it diff.relative_path.to_s do