Commit 864fa5a9 authored by Simon Knox's avatar Simon Knox

rename issue_note_attachment

parent 4ce19967
<script>
import noteEditedText from './note_edited_text.vue';
import issueNoteAwardsList from './issue_note_awards_list.vue';
import issueNoteAttachment from './issue_note_attachment.vue';
import noteAttachment from './note_attachment.vue';
import issueNoteForm from './issue_note_form.vue';
import TaskList from '../../task_list';
import autosave from '../mixins/autosave';
......@@ -28,7 +28,7 @@
components: {
noteEditedText,
issueNoteAwardsList,
issueNoteAttachment,
noteAttachment,
issueNoteForm,
},
computed: {
......@@ -114,7 +114,7 @@
:awards="note.award_emoji"
:toggle-award-path="note.toggle_award_path"
/>
<issue-note-attachment
<note-attachment
v-if="note.attachment"
:attachment="note.attachment"
/>
......
<script>
export default {
name: 'issueNoteAttachment',
name: 'noteAttachment',
props: {
attachment: {
type: Object,
......
import Vue from 'vue';
import issueNoteAttachment from '~/notes/components/issue_note_attachment.vue';
import noteAttachment from '~/notes/components/note_attachment.vue';
describe('issue note attachment', () => {
it('should render properly', () => {
......@@ -11,7 +11,7 @@ describe('issue note attachment', () => {
},
};
const Component = Vue.extend(issueNoteAttachment);
const Component = Vue.extend(noteAttachment);
const vm = new Component({
propsData: props,
}).$mount();
......
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