RSpec 3 compatibility