Sha256: 418295107d801d8659955572d89af3228d95d1baf2e8a8df644390cbc6e4e428

Contents?: true

Size: 308 Bytes

Versions: 3

Compression:

Stored size: 308 Bytes

Contents

require 'ae'

class Assertion

  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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ae-1.6.1 lib/ae/adapters/rspec.rb
ae-1.6.0 lib/ae/adapters/rspec.rb
ae-1.5.0 lib/ae/adapters/rspec.rb