Commit fd8e20a7 authored by Nick Thomas's avatar Nick Thomas

Fix merge conflicts

parent 180ba572
...@@ -44,11 +44,8 @@ import ProjectsList from './projects_list'; ...@@ -44,11 +44,8 @@ import ProjectsList from './projects_list';
import MiniPipelineGraph from './mini_pipeline_graph_dropdown'; import MiniPipelineGraph from './mini_pipeline_graph_dropdown';
import BlobLinePermalinkUpdater from './blob/blob_line_permalink_updater'; import BlobLinePermalinkUpdater from './blob/blob_line_permalink_updater';
import UserCallout from './user_callout'; import UserCallout from './user_callout';
<<<<<<< HEAD
import GeoNodes from './geo_nodes'; import GeoNodes from './geo_nodes';
=======
>>>>>>> ce/master
const ShortcutsBlob = require('./shortcuts_blob'); const ShortcutsBlob = require('./shortcuts_blob');
......
...@@ -71,22 +71,19 @@ ...@@ -71,22 +71,19 @@
= reply_email = reply_email
%span.light.pull-right %span.light.pull-right
= boolean_to_icon Gitlab::IncomingEmail.enabled? = boolean_to_icon Gitlab::IncomingEmail.enabled?
<<<<<<< HEAD - elastic = "Elasticsearch"
%p %p{ "aria-label" => "#{elastic}: status " + (current_application_settings.elasticsearch_search? ? "on" : "off") }
Elasticsearch = elastic
%span.light.pull-right %span.light.pull-right
= boolean_to_icon current_application_settings.elasticsearch_search? = boolean_to_icon current_application_settings.elasticsearch_search?
%p - geo = "Geo"
Geo %p{ "aria-label" => "#{geo}: status " + (Gitlab::Geo.enabled? ? "on" : "off") }
= geo
%span.light.pull-right %span.light.pull-right
= boolean_to_icon Gitlab::Geo.enabled? = boolean_to_icon Gitlab::Geo.enabled?
%p
Container Registry
=======
- container_reg = "Container Registry" - container_reg = "Container Registry"
%p{ "aria-label" => "#{container_reg}: status " + (Gitlab.config.registry.enabled ? "on" : "off") } %p{ "aria-label" => "#{container_reg}: status " + (Gitlab.config.registry.enabled ? "on" : "off") }
= container_reg = container_reg
>>>>>>> ce/master
%span.light.pull-right %span.light.pull-right
= boolean_to_icon Gitlab.config.registry.enabled = boolean_to_icon Gitlab.config.registry.enabled
......
...@@ -9,11 +9,8 @@ describe('UserCallout', () => { ...@@ -9,11 +9,8 @@ describe('UserCallout', () => {
beforeEach(function () { beforeEach(function () {
loadFixtures(fixtureName); loadFixtures(fixtureName);
<<<<<<< HEAD
=======
Cookies.remove(USER_CALLOUT_COOKIE); Cookies.remove(USER_CALLOUT_COOKIE);
>>>>>>> ce/master
this.userCallout = new UserCallout(); this.userCallout = new UserCallout();
this.closeButton = $('.close-user-callout'); this.closeButton = $('.close-user-callout');
this.userCalloutBtn = $('.user-callout-btn'); this.userCalloutBtn = $('.user-callout-btn');
...@@ -21,13 +18,6 @@ describe('UserCallout', () => { ...@@ -21,13 +18,6 @@ describe('UserCallout', () => {
Cookies.set(USER_CALLOUT_COOKIE, 'false'); Cookies.set(USER_CALLOUT_COOKIE, 'false');
}); });
<<<<<<< HEAD
afterEach(function () {
Cookies.set(USER_CALLOUT_COOKIE, 'false');
});
it('shows when cookie is set to false', function () {
=======
it('does not show when cookie is set not defined', () => { it('does not show when cookie is set not defined', () => {
expect(Cookies.get(USER_CALLOUT_COOKIE)).toBeUndefined(); expect(Cookies.get(USER_CALLOUT_COOKIE)).toBeUndefined();
expect(this.userCalloutContainer.is(':visible')).toBe(true); expect(this.userCalloutContainer.is(':visible')).toBe(true);
...@@ -36,7 +26,6 @@ describe('UserCallout', () => { ...@@ -36,7 +26,6 @@ describe('UserCallout', () => {
it('shows when cookie is set to false', () => { it('shows when cookie is set to false', () => {
Cookies.set(USER_CALLOUT_COOKIE, 'false'); Cookies.set(USER_CALLOUT_COOKIE, 'false');
>>>>>>> ce/master
expect(Cookies.get(USER_CALLOUT_COOKIE)).toBeDefined(); expect(Cookies.get(USER_CALLOUT_COOKIE)).toBeDefined();
expect(this.userCalloutContainer.is(':visible')).toBe(true); expect(this.userCalloutContainer.is(':visible')).toBe(true);
}); });
...@@ -49,8 +38,6 @@ describe('UserCallout', () => { ...@@ -49,8 +38,6 @@ describe('UserCallout', () => {
it('hides when user clicks on the "check it out" button', function () { it('hides when user clicks on the "check it out" button', function () {
this.userCalloutBtn.click(); this.userCalloutBtn.click();
expect(Cookies.get(USER_CALLOUT_COOKIE)).toBe('true'); expect(Cookies.get(USER_CALLOUT_COOKIE)).toBe('true');
<<<<<<< HEAD
=======
}); });
}); });
...@@ -67,6 +54,5 @@ describe('UserCallout when cookie is present', function () { ...@@ -67,6 +54,5 @@ describe('UserCallout when cookie is present', function () {
it('removes the DOM element', () => { it('removes the DOM element', () => {
expect(this.userCalloutContainer.length).toBe(0); expect(this.userCalloutContainer.length).toBe(0);
>>>>>>> ce/master
}); });
}); });
...@@ -65,12 +65,8 @@ describe Boards::Issues::ListService, services: true do ...@@ -65,12 +65,8 @@ describe Boards::Issues::ListService, services: true do
issues = described_class.new(project, user, params).execute issues = described_class.new(project, user, params).execute
<<<<<<< HEAD
expect(issues).to eq [opened_issue2, list1_issue2, reopened_issue1, opened_issue1] expect(issues).to eq [opened_issue2, list1_issue2, reopened_issue1, opened_issue1]
end end
=======
expect(issues).to eq [closed_issue4, closed_issue2, closed_issue5, closed_issue3, closed_issue1]
>>>>>>> ce/master
end end
end end
...@@ -79,7 +75,7 @@ describe Boards::Issues::ListService, services: true do ...@@ -79,7 +75,7 @@ describe Boards::Issues::ListService, services: true do
issues = described_class.new(project, user, params).execute issues = described_class.new(project, user, params).execute
expect(issues).to eq [closed_issue4, closed_issue2, closed_issue3, closed_issue1] expect(issues).to eq [closed_issue4, closed_issue2, closed_issue5, closed_issue3, closed_issue1]
end end
it 'returns opened issues that have label list applied when listing issues from a label list' do it 'returns opened issues that have label list applied when listing issues from a label list' do
......
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