update spec helper for RSpec 3