Fix RSpec 2.14 deprecation warnings