Ardekantur

Computer Science, Ruby, and Software Engineering.

Tag: rspec

Sinatra 0.9 and Pre-RSpec Modifications

I have no idea if this is the right way to do this, but it certainly works. Say you’re working in Sinatra 0.9, and have an application that subclasses Sinatra::Base. Call it AwesomeApp. What if you want to fiddle around with it — in my case, set application options — before RSpec starts running with [...]

Textmate, RSpec, and Pending Tasks

I fix up the RSpec TextMate bundle to take care of something that bugs me.

Generating Multiple RSpec Files from a Design Document

A small Rakefile task to automagically generate your spec files from a specially formatted design document of specifications.

Using Gist for Responsible Software Blogging

Putting forth an idea inspired by git-powered code snippets.

Page Searching in Merb Specs with Hpricot

I’m not entirely sure what the status of this code is, but it seems to be working for me. I tried throwing it a little further upstream and got hit with 42 failed specs, so I’m content to use it as a spec helper for now.

In any event, yeah. There’s Hpricot goodness available for your [...]