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,905 of 154,827
Downloads: 229,406

Daily

Ranking: 7,041 of 154,800
Downloads: 101

Depended by

RankDownloadsName
4,517274,315erector
8,18187,907transit-ruby
10,04964,036minigit
11,70751,086sinatra-synchrony
12,05949,017sir_trevor_rails
13,89040,723active_mailer
14,07040,060active_column
19,79325,450erector-rails4
20,83823,808tutum
24,87119,071vendorificator
28,20716,399salesmachine-ruby
33,39013,360docker_cloud
41,59110,151factor-connector-rackspace
43,9809,458translations
45,3379,112cant
45,3869,101hamster-the-process-watcher
49,2718,148trickery
52,0707,567junkfood
52,0707,567junkfood
53,5097,303astronomer

Depends on

RankDownloadsName
4469,250,263diff-lcs
23131,193,272sexp_processor
24529,301,452ruby_parser
8248,454,561ruby2ruby
5,447186,675predicated

Owners

#GravatarHandle
1iconalexch
2iconsconoversf