The latest news in the Ruby and Rails community.

Subscribe to our mailing list!

Episode #258

March 27th, 2012

Factory 3.0 says bye to Ruby 1.8 and Rails 2, heroku_san ensures you do your deploys right, Bullet 2.3.0 speeds up your queries, gambas inlines your PDF generation, RV...

Stories

How to test external APIs

Jared Carroll released a great writeup over on the Carbon Emitter, where he details how you should test external APIs.

He walks through how to use RSpec and Capybara to write a failing integration test and shows how to make those tests pass step-by-step. He creates domain models, an adapter layer, shows how to stub collaborators when unit testing, and ultimately shows how to make the whole thing work, and even tosses in a little VCR to make it fast.

Visit site → Permalink

Previous Episodes

Episode #257

RSpec 2.9.0 released … GitHub Ruby Styleguide … technoweenie’s blog post, “Ending the Mass Assignment Party” … Life Without Gemsets … Custom Bundler Groups … Avdi Grimm’s _Objects on Rails_ Book Available Free

Episode #256

In today's episode Ruby isn't Python, CopyCopter open source, Rack Retrospective, wisepdf, Rails DynamoDB, Speciny, and the Anatomy of Backbone.

Episode #255

Locally precompile assets, Enumerable::Lazy, rspec 2.0 RC, new ruby and rails doc site, decent exposure, DDD for Rails Devs, and a ruby wrapper for the ESPN API.

Episode #254

Compass 0.12 gets a speed boost as the Rocket Pants come out, we look at barebones models in Rails 4.0 with ActionPack, configuration with Constellation, faster docs contributions with docrails, and swift Ruby snippets sharing with RubyFiddle.

View the archives →

Looking to learn about Ruby? Take a look at the Ruby Path on Code School

This podcast is produced and distributed by Code School. Copyright © 2015 Code School LLC