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,370 of 192,137
Downloads: 602,261

Daily

Ranking: 5,989 of 192,103
Downloads: 365

Depended by

RankDownloadsName
8,810414,912erector
12,564195,127transit-ruby
15,536129,946minigit
18,007100,716sir_trevor_rails
19,87085,467sinatra-synchrony
23,24067,021active_mailer
27,93651,248active_column
29,47547,365erector-rails4
30,12745,911psql
33,09740,445vendorificator
33,62539,545tutum
38,66432,699docker_cloud
46,48325,592salesmachine-ruby
47,84824,586factor-connector-rackspace
52,42021,696trickery
52,43321,689translations
63,65916,626hamster-the-process-watcher
65,38116,009factor-connector-github
65,86115,841knife-dns-update
68,86914,856cant

Depends on

RankDownloadsName
171,162,382,584diff-lcs
333145,602,942sexp_processor
350136,179,858ruby_parser
1,72319,647,787ruby2ruby
8,004513,771predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch