Add compatibility with RSpec 3