RSpec Error With Implicit Subject

on Wednesday, August 8, 2012
Ever write a trivial spec like this:


And get something totally baffling back, like this?


Backstory: Refactoring some pre-written classes to use metaprogramming to create some methods and values. I wanted specs in place before starting the metaprogramming to avoid breaking things.

In retrospect, I should have figured this out sooner. In my defense, I love the Olympics and was distracted. The

0 comments:

Post a Comment