This is simple example of implementing test cases for devise in cucumber and traditional rails testing framework