I think you can write it like this:

    expect(response).to be_success