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: 4,678 of 150,999
Downloads: 212,378

Daily

Ranking: 6,317 of 150,982
Downloads: 57

Depended by

RankDownloadsName
4,155263,716erector
8,31775,516transit-ruby
10,05257,152minigit
11,09049,735sinatra-synchrony
12,05544,329sir_trevor_rails
13,15039,644active_mailer
13,15839,618active_column
18,79624,785erector-rails4
19,80023,279tutum
23,98518,360vendorificator
28,24615,131salesmachine-ruby
33,22412,455docker_cloud
40,5659,729factor-connector-rackspace
42,8829,076translations
43,5428,902cant
43,6948,867hamster-the-process-watcher
48,6557,696trickery
50,1807,380junkfood
50,1807,380junkfood
52,6946,936knife-dns-update

Depends on

RankDownloadsName
3411,899,693diff-lcs
22325,869,077sexp_processor
24224,358,850ruby_parser
7367,808,609ruby2ruby
5,208169,747predicated

Owners

#GravatarHandle
1iconalexch
2iconsconoversf