03 May '12, 10am

Writing MiniTest extensions

Writing MiniTest extensions Posted by wojtekmach on May 03, 2012 — 0 comments It's pretty easy to extend MiniTest. Below I show you how to add very simple implementation of expect {}.to change {}.by(x) from RSpec, in 13LOC. It should work out of the box on Ruby 1.9. https://gist.github.com/2584768 Comments “ ” Post a Comment Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!

Full article: http://www.rubyflow.com/items/7606-writing-minitest-exten...

Tweets

After writing the Ruby to do this, I found a ge...

rubygems.org 05 May '12, 3am

Adds String#titleize for creating properly capitalized titles. Replaces ActiveSupport::Inflector.titleize if ActiveSupport...