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,741 of 152,694
Downloads: 217,815

Daily

Ranking: 5,236 of 152,668
Downloads: 173

Depended by

RankDownloadsName
4,275267,332erector
8,22779,730transit-ruby
10,14958,501minigit
11,29550,227sinatra-synchrony
11,94546,377sir_trevor_rails
13,42239,971active_mailer
13,47939,728active_column
19,12725,018erector-rails4
20,12923,467tutum
24,28618,612vendorificator
28,32215,492salesmachine-ruby
33,57212,627docker_cloud
40,8979,867factor-connector-rackspace
43,2129,205translations
44,1408,969cant
44,2178,947hamster-the-process-watcher
48,8287,843trickery
50,7797,439junkfood
50,7797,439junkfood
53,1077,030knife-dns-update

Depends on

RankDownloadsName
3444,427,890diff-lcs
22727,444,094sexp_processor
24425,903,253ruby_parser
7548,025,216ruby2ruby
5,271175,062predicated

Owners

#GravatarHandle
1iconalexch
2iconsconoversf