Sha256: 94e40dca217f1c2398114b32413a3a4dcd2544a3725b3637bde3590c3d25013a

Contents?: true

Size: 177 Bytes

Versions: 3

Compression:

Stored size: 177 Bytes

Contents

module Spec  
  module Expectations
    
    def self.fail_with(message, expected, target)
      raise Spec::Expectations::ExpectationNotMetError.new(message)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
opal-0.3.2 gems/ospec/lib/ospec/expectations/fail_with.rb
opal-0.3.1 gems/ospec/lib/ospec/expectations/fail_with.rb
opal-0.3.0 gems/ospec/lib/ospec/expectations/fail_with.rb