Fix RSpec test