Commit d4a92a7c authored by Simon Knox's avatar Simon Knox

rename issue_note_actions.vue to note_actions

parent 3e558d8d
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
import issueNote from './issue_note.vue'; import issueNote from './issue_note.vue';
import userAvatarLink from '../../vue_shared/components/user_avatar/user_avatar_link.vue'; import userAvatarLink from '../../vue_shared/components/user_avatar/user_avatar_link.vue';
import issueNoteHeader from './issue_note_header.vue'; import issueNoteHeader from './issue_note_header.vue';
import issueNoteActions from './issue_note_actions.vue';
import issueNoteSignedOutWidget from './issue_note_signed_out_widget.vue'; import issueNoteSignedOutWidget from './issue_note_signed_out_widget.vue';
import issueNoteEditedText from './issue_note_edited_text.vue'; import issueNoteEditedText from './issue_note_edited_text.vue';
import issueNoteForm from './issue_note_form.vue'; import issueNoteForm from './issue_note_form.vue';
...@@ -29,7 +28,6 @@ ...@@ -29,7 +28,6 @@
issueNote, issueNote,
userAvatarLink, userAvatarLink,
issueNoteHeader, issueNoteHeader,
issueNoteActions,
issueNoteSignedOutWidget, issueNoteSignedOutWidget,
issueNoteEditedText, issueNoteEditedText,
issueNoteForm, issueNoteForm,
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
import Flash from '../../flash'; import Flash from '../../flash';
import userAvatarLink from '../../vue_shared/components/user_avatar/user_avatar_link.vue'; import userAvatarLink from '../../vue_shared/components/user_avatar/user_avatar_link.vue';
import issueNoteHeader from './issue_note_header.vue'; import issueNoteHeader from './issue_note_header.vue';
import issueNoteActions from './issue_note_actions.vue'; import noteActions from './note_actions.vue';
import issueNoteBody from './issue_note_body.vue'; import issueNoteBody from './issue_note_body.vue';
import eventHub from '../event_hub'; import eventHub from '../event_hub';
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
components: { components: {
userAvatarLink, userAvatarLink,
issueNoteHeader, issueNoteHeader,
issueNoteActions, noteActions,
issueNoteBody, issueNoteBody,
}, },
computed: { computed: {
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
:note-id="note.id" :note-id="note.id"
action-text="commented" action-text="commented"
/> />
<issue-note-actions <note-actions
:author-id="author.id" :author-id="author.id"
:note-id="note.id" :note-id="note.id"
:access-level="note.human_access" :access-level="note.human_access"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
import tooltip from '../../vue_shared/directives/tooltip'; import tooltip from '../../vue_shared/directives/tooltip';
export default { export default {
name: 'issueNoteActions', name: 'noteActions',
props: { props: {
authorId: { authorId: {
type: Number, type: Number,
......
import Vue from 'vue'; import Vue from 'vue';
import store from '~/notes/stores'; import store from '~/notes/stores';
import issueActions from '~/notes/components/issue_note_actions.vue'; import noteActions from '~/notes/components/note_actions.vue';
import { userDataMock } from '../mock_data'; import { userDataMock } from '../mock_data';
describe('issse_note_actions component', () => { describe('issse_note_actions component', () => {
...@@ -8,7 +8,7 @@ describe('issse_note_actions component', () => { ...@@ -8,7 +8,7 @@ describe('issse_note_actions component', () => {
let Component; let Component;
beforeEach(() => { beforeEach(() => {
Component = Vue.extend(issueActions); Component = Vue.extend(noteActions);
}); });
afterEach(() => { afterEach(() => {
......
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