Module: Spec

Defined in:
lib/itrigga/ruby19_hacks/rspec.rb

Overview

Ruby 1.9 changes the way to_a is implemented - now throws an error if recieving object does not catch :to_ary message Ruby 1.8 does not. As this is fixed in RSpec2 we cannot upgrade to RSpec to as it does not support Rails 2.3 So we monkey patch RSpec 1.3

Defined Under Namespace

Modules: Mocks