Found the issue with the specs. Changed them back to how they should be and fixed cas_authentication.rb