RSpec utilities.