I\'m new to RSpec and I want to test the if-else condition of a controller, I searched on the internet but couldn\'t find results properly.
def edit if