Categories: None [Edit]

wrong

https://rubygems.org/gems/wrong
https://github.com/sconover/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: 7,810 of 199,228
Downloads: 636,325

Daily

Ranking: 11,520 of 199,184
Downloads: 133

Depended by

RankDownloadsName
9,329431,826erector
13,224201,123transit-ruby
16,247134,288minigit
18,368107,382sir_trevor_rails
20,54888,653sinatra-synchrony
21,03585,282yaesu
24,16668,530active_mailer
29,18451,954active_column
30,03749,788erector-rails4
31,68546,216psql
33,99741,936vendorificator
34,80240,596tutum
39,61333,970docker_cloud
48,46025,980salesmachine-ruby
48,95925,614factor-connector-rackspace
50,06424,819environmentor
53,05822,900trickery
54,05022,321translations
65,33917,182hamster-the-process-watcher
66,21016,869factor-connector-github

Depends on

RankDownloadsName
191,271,301,687diff-lcs
354156,212,321sexp_processor
380144,888,069ruby_parser
1,73022,256,886ruby2ruby
8,415541,978predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch