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,748 of 197,744
Downloads: 630,941

Daily

Ranking: 10,688 of 197,724
Downloads: 120

Depended by

RankDownloadsName
9,249429,223erector
13,115200,213transit-ruby
16,110133,598minigit
18,246106,290sir_trevor_rails
20,35988,322sinatra-synchrony
20,84585,056yaesu
23,99368,239active_mailer
28,92851,797active_column
29,83649,443erector-rails4
31,35646,100psql
33,72141,714vendorificator
34,54740,404tutum
39,43133,699docker_cloud
48,02625,904salesmachine-ruby
48,67525,424factor-connector-rackspace
51,30723,634environmentor
52,82322,689trickery
53,69922,166translations
64,91517,088hamster-the-process-watcher
65,89916,736factor-connector-github

Depends on

RankDownloadsName
191,248,095,532diff-lcs
350153,936,392sexp_processor
373143,163,140ruby_parser
1,73321,774,578ruby2ruby
8,350537,055predicated

Owners

#GravatarHandle
1iconsconoversf
2iconalexch