Top Level Namespace

Includes:
Wrong

Defined Under Namespace

Modules: IRB, RSpec, Sickill, Wrong Classes: Object, Sexp

Constant Summary

Constants included from Wrong

Wrong::VERSION

Constants included from Wrong::Eventually

Wrong::Eventually::NO_BLOCK_PASSED

Instance Method Summary collapse

Methods included from Wrong

config, config=, load_config

Methods included from Wrong::Assert

#assert, #deny, #failure_class, #failure_message, #increment_assertion_count

Methods included from Wrong::D

#d

Methods included from Wrong::CloseTo

#close_to?

Methods included from Wrong::Eventually

#eventually

Methods included from Wrong::Capturing

#capturing

Methods included from Wrong::Rescuing

#rescuing

Instance Method Details

#wrong_adapter_failure(why) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
# File 'lib/wrong/adapters/test_unit.rb', line 3

def wrong_adapter_failure(why)
  $stderr.puts why
  $stderr.puts <<-TEXT
Make sure to use Bundler or Rubygems to load the test-unit gem. For example:
  require 'rubygems'
  gem 'test-unit'
  require 'test/unit'
  require 'wrong/adapters/test_unit'
  TEXT
  exit 1
end