Categories: None [Edit]

wrong

https://rubygems.org/gems/wrong
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. Also provided are several helper methods, like rescuing, capturing, and d.

Total

Ranking: 5,042 of 157,357
Downloads: 248,314

Daily

Ranking: 6,723 of 157,334
Downloads: 113

Depended by

RankDownloadsName
4,769280,396erector
8,29995,162transit-ruby
10,20968,069minigit
12,03353,434sir_trevor_rails
12,24852,114sinatra-synchrony
14,58241,180active_mailer
14,80440,305active_column
20,55025,903erector-rails4
21,67424,135tutum
25,63519,498vendorificator
27,76317,721salesmachine-ruby
33,28614,154docker_cloud
42,41110,447factor-connector-rackspace
44,9659,678translations
45,5099,540astronomer
46,6849,250hamster-the-process-watcher
46,7249,242cant
50,0518,402trickery
53,4227,686junkfood
53,4227,686junkfood

Depends on

RankDownloadsName
4494,711,399diff-lcs
23635,527,315sexp_processor
24633,370,222ruby_parser
8658,921,279ruby2ruby
5,546205,303predicated

Owners

#GravatarHandle
1iconalexch
2iconsconoversf