Cleaned up RSpec 3 deprecation warning.