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,817 of 153,772
Downloads: 224,101

Daily

Ranking: 6,774 of 153,744
Downloads: 110

Depended by

RankDownloadsName
4,378271,589erector
8,17684,187transit-ruby
10,16160,615minigit
11,48750,726sinatra-synchrony
12,05447,438sir_trevor_rails
13,64540,267active_mailer
13,77639,863active_column
19,44225,261erector-rails4
20,48623,671tutum
24,54118,889vendorificator
28,40015,851salesmachine-ruby
33,65512,916docker_cloud
41,18910,025factor-connector-rackspace
43,5269,356translations
44,7239,050cant
44,7959,034hamster-the-process-watcher
48,9178,029trickery
51,3997,513junkfood
51,3997,513junkfood
53,5227,136knife-dns-update

Depends on

RankDownloadsName
3456,876,920diff-lcs
22929,158,004sexp_processor
24327,456,850ruby_parser
7848,233,780ruby2ruby
5,346181,443predicated

Owners

#GravatarHandle
1iconalexch
2iconsconoversf