# Create new trigger without owner association, i.e. Legacy trigger
create(:ci_trigger,owner: nil,project: @project)
visitproject_settings_ci_cd_path(@project)
...
...
@@ -87,12 +87,12 @@ feature 'Triggers', :js do
visitproject_settings_ci_cd_path(@project)
end
scenario'button "Take ownership" has correct alert'do
it'button "Take ownership" has correct alert'do
expected_alert='By taking ownership you will bind this trigger to your user account. With this the trigger will have access to all your projects as if it was you. Are you sure?'