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,910 of 154,829
Downloads: 229,493

Daily

Ranking: 7,682 of 154,806
Downloads: 87

Depended by

RankDownloadsName
4,518274,400erector
8,17988,006transit-ruby
10,04264,116minigit
11,71051,088sinatra-synchrony
12,05749,047sir_trevor_rails
13,89540,735active_mailer
14,07640,066active_column
19,79325,463erector-rails4
20,84923,808tutum
24,87719,072vendorificator
28,19816,414salesmachine-ruby
33,36313,375docker_cloud
41,57910,160factor-connector-rackspace
43,9979,458translations
45,3459,116cant
45,3999,102hamster-the-process-watcher
49,2998,148trickery
52,0877,567junkfood
52,0877,567junkfood
53,3547,332astronomer

Depends on

RankDownloadsName
4469,486,636diff-lcs
23131,239,324sexp_processor
24529,343,759ruby_parser
8248,458,981ruby2ruby
5,448186,770predicated

Owners

#GravatarHandle
1iconalexch
2iconsconoversf