Support both RSpec 1.x and 2.x