Sha256: a8210a47d474b4b261151e7c2b9ce12c79074d45ab81e44c278abcc955365971

Contents?: true

Size: 550 Bytes

Versions: 6

Compression:

Stored size: 550 Bytes

Contents

require "assert/version"

require "assert/config"
require "assert/context"
require "assert/runner"
require "assert/stub"
require "assert/suite"
require "assert/utils"
require "assert/view"

module Assert
  def self.config; @config ||= Config.new; end
  def self.configure; yield self.config if block_given?; end

  def self.view;   self.config.view;   end
  def self.suite;  self.config.suite;  end
  def self.runner; self.config.runner; end

  # unstub all stubs automatically (see stub.rb)
  class Context
    teardown{ Assert.unstub! }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
assert-2.19.0 lib/assert.rb
assert-2.18.4 lib/assert.rb
assert-2.18.3 lib/assert.rb
assert-2.18.2 lib/assert.rb
assert-2.18.1 lib/assert.rb
assert-2.18.0 lib/assert.rb