Fixed redcap rspec issue