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,224 of 188,252
Downloads: 584,117

Daily

Ranking: 10,096 of 188,232
Downloads: 97

Depended by

RankDownloadsName
8,622407,028erector
12,292192,590transit-ruby
15,223127,575minigit
17,73397,448sir_trevor_rails
19,41383,974sinatra-synchrony
22,66466,127active_mailer
27,27450,687active_column
28,99046,394erector-rails4
29,27145,735psql
32,68039,449vendorificator
32,98138,929tutum
38,22031,900docker_cloud
46,07124,964salesmachine-ruby
47,50223,923factor-connector-rackspace
51,71121,292translations
52,47320,876trickery
63,23316,211hamster-the-process-watcher
65,51415,428factor-connector-github
65,53915,419knife-dns-update
67,76714,677cant

Depends on

RankDownloadsName
151,112,309,107diff-lcs
323140,699,274sexp_processor
335132,038,842ruby_parser
1,70018,634,121ruby2ruby
7,880498,898predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch