Commit c6f1ebda authored by Fernando's avatar Fernando

Fix pipeline failure and minor tweaks

* Fix ruby linter failure
* Fix unit test typos
parent 08e00281
...@@ -39,7 +39,6 @@ class ProjectsController < Projects::ApplicationController ...@@ -39,7 +39,6 @@ class ProjectsController < Projects::ApplicationController
frontend_experimentation_tracking_data(:new_create_project_ui, 'click_tab') frontend_experimentation_tracking_data(:new_create_project_ui, 'click_tab')
push_frontend_feature_flag(:new_create_project_ui) if experiment_enabled?(:new_create_project_ui) push_frontend_feature_flag(:new_create_project_ui) if experiment_enabled?(:new_create_project_ui)
push_frontend_feature_flag(:service_desk_custom_address, @project) push_frontend_feature_flag(:service_desk_custom_address, @project)
end end
before_action only: [:edit] do before_action only: [:edit] do
......
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
</td> </td>
<td class="gl-px-2! gl-text-right"> <td class="gl-px-2! gl-text-right">
<gl-button @click="$emit('enable')"> <gl-button @click="$emit('enable')">
{{ s__('Enable') }} {{ __('Enable') }}
</gl-button> </gl-button>
</td> </td>
</template> </template>
......
...@@ -152,7 +152,7 @@ describe('Approvals ProjectRules', () => { ...@@ -152,7 +152,7 @@ describe('Approvals ProjectRules', () => {
it(`should ${ it(`should ${
approvalSuggestions ? '' : 'not' approvalSuggestions ? '' : 'not'
} render the unconfigured-security-rule component`, () => { } render the unconfigured-security-rules component`, () => {
expect(wrapper.contains(UnconfiguredSecurityRules)).toBe(approvalSuggestions); expect(wrapper.contains(UnconfiguredSecurityRules)).toBe(approvalSuggestions);
}); });
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment