Updated RSpec methods