lib/ae/adapters/rspec.rb in ae-1.6.1 vs lib/ae/adapters/rspec.rb in ae-1.7.0
- old
+ new
@@ -1,14 +1,4 @@
require 'ae'
-class Assertion
+AE.assertion_error = ::RSpec::Expectations::ExpectationNotMetError
- def self.framework_flunk(options)
- message = options.delete(:message)
- backtrace = options.delete(:backtrace)
-
- err = Spec::Expectations::ExpectationNotMetError.new(message)
- err.set_backtrace(options[:backtrace]) if options[:backtrace]
- fail err
- end
-
-end