Update method names for RSpec 3

To avoid deprecation warnings