porting admin login feature to rspec integration test