Sha256: b4d11700030e496d7ef89fce50374d270fedcf47ae2e62a3c8d21d377d9b68d2

Contents?: true

Size: 362 Bytes

Versions: 8

Compression:

Stored size: 362 Bytes

Contents

module Spec
  module Runner
    class ExecutionContext
      module InstanceMethods
        def initialize(*args) #:nodoc:
          #necessary for RSpec's own specs
        end
        
        def violated(message="")
          raise Spec::Expectations::ExpectationNotMetError.new(message)
        end

      end
      include InstanceMethods
    end
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
puppet-0.22.4 test/lib/spec/runner/execution_context.rb
puppet-0.23.0 test/lib/spec/runner/execution_context.rb
puppet-0.23.1 test/lib/spec/runner/execution_context.rb
puppet-0.23.2 test/lib/spec/runner/execution_context.rb
riess-0.0.8 vendor/rspec-0.8.2/lib/spec/runner/execution_context.rb
rspec-0.8.1 lib/spec/runner/execution_context.rb
rspec-0.8.0 lib/spec/runner/execution_context.rb
rspec-0.8.2 lib/spec/runner/execution_context.rb