RubyGems.org

wrong

0.3.1

Wrong provides a general assert method that takes a predicate block. Assertion failure messages are rich in detail. The Wrong idea is to replace all those countless assert_this, assert_that library methods which only exist to give a more useful failure message than "assertion failed". Wrong replaces all of them in one fell swoop, since if you can write it in Ruby, Wrong can make a sensible failure message out of it.

installgem install wrong -v 0.3.1
Authors

Steve Conover, Alex Chaffee

63,726 total downloads 1,149 for this version
Owners

2cddfa1d5e719e79aeab4e351c1793e929c2f01cc7d18c260ca80d32c402ba0b

Gemfile
gem 'wrong', '~> 0.3.1'
Versions
  1. 0.7.1 November 11, 2013 (42.5 KB)
  2. 0.7.1 November 11, 2013 java (42.5 KB)
  3. 0.7.0 November 23, 2012 java (42.5 KB)
  4. 0.7.0 November 23, 2012 (42.5 KB)
  5. 0.6.3 November 14, 2012 (37.5 KB)
Show all versions (42 total)