Fixed deprecated RSpec call