Sha256: fc952b97752ed4cd3891b2cb7a4870ceb8d67424b97218f939e984ad938a842d
Contents?: true
Size: 389 Bytes
Versions: 5
Compression:
Stored size: 389 Bytes
Contents
require 'cuba' ENV["MT_NO_EXPECTATIONS"] = "true" require 'mustard' module Mustard class Failure < MiniTest::Assertion def initialize( *args ) super begin raise rescue => e @result = e.backtrace.detect { |l| nil == ( l =~ /lib\/mustard/ || l =~ /spec\/spec_helper.rb/ ) } end end def backtrace [@result] end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
cuba-api-0.4.0 | spec/spec_helper.rb |
cuba-api-0.3.3 | spec/spec_helper.rb |
cuba-api-0.3.2 | spec/spec_helper.rb |
cuba-api-0.3.1 | spec/spec_helper.rb |
cuba-api-0.3.0 | spec/spec_helper.rb |