Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #31 from ckeditor/t/ckeditor5/488
Browse files Browse the repository at this point in the history
Other: Align feature class naming to a new scheme.
  • Loading branch information
scofalik authored Feb 27, 2018
2 parents 9f0ec01 + aee40f8 commit 69e98d3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/paragraph-intergration.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

import Paragraph from '../src/paragraph';
import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
import UndoEngine from '@ckeditor/ckeditor5-undo/src/undoengine';
import HeadingEngine from '@ckeditor/ckeditor5-heading/src/headingengine';
import UndoEditing from '@ckeditor/ckeditor5-undo/src/undoediting';
import HeadingEditing from '@ckeditor/ckeditor5-heading/src/headingediting';
import VirtualTestEditor from '@ckeditor/ckeditor5-core/tests/_utils/virtualtesteditor';
import {
getData as getModelData,
Expand Down Expand Up @@ -38,7 +38,7 @@ describe( 'Paragraph feature – integration', () => {
// Explainer: the heading feature is configured to handle h2-h4 elements, so h1 has no handler.
it( 'pastes h1+h2+p as p+h2+p when heading feature is present', () => {
return VirtualTestEditor
.create( { plugins: [ Paragraph, Clipboard, HeadingEngine ] } )
.create( { plugins: [ Paragraph, Clipboard, HeadingEditing ] } )
.then( newEditor => {
const editor = newEditor;
const clipboard = editor.plugins.get( 'Clipboard' );
Expand Down Expand Up @@ -76,7 +76,7 @@ describe( 'Paragraph feature – integration', () => {
// handle the li element.
it( 'pastes ul>li>h2+h3+p as h2+h3+p when heading feature is present', () => {
return VirtualTestEditor
.create( { plugins: [ Paragraph, Clipboard, HeadingEngine ] } )
.create( { plugins: [ Paragraph, Clipboard, HeadingEditing ] } )
.then( newEditor => {
const editor = newEditor;
const clipboard = editor.plugins.get( 'Clipboard' );
Expand Down Expand Up @@ -142,7 +142,7 @@ describe( 'Paragraph feature – integration', () => {
describe( 'with undo', () => {
it( 'fixing empty roots should be transparent to undo', () => {
return VirtualTestEditor
.create( { plugins: [ Paragraph, UndoEngine ] } )
.create( { plugins: [ Paragraph, UndoEditing ] } )
.then( newEditor => {
const editor = newEditor;
const doc = editor.model.document;
Expand Down Expand Up @@ -175,7 +175,7 @@ describe( 'Paragraph feature – integration', () => {

it( 'fixing empty roots should be transparent to undo - multiple roots', () => {
return VirtualTestEditor
.create( { plugins: [ Paragraph, UndoEngine ] } )
.create( { plugins: [ Paragraph, UndoEditing ] } )
.then( newEditor => {
const editor = newEditor;
const doc = editor.model.document;
Expand Down

0 comments on commit 69e98d3

Please sign in to comment.