addeed sso specs for view and helper
refactored deprecated rspec syntax